DicomObjects Reference
DicomObjects Reference / DicomImages Collection / ReadURL Method
The fully qualified URL of the object to be read.
This is passed unmodified to the operating system, and it is therefore the container’s responsibility to ensure that a fully qualified, accessible URL is provided.
ReadURL Method
Description
Reads a dataset from a network location
Syntax
Visual Basic
Public Function ReadURL( _
   ByVal URL As String _
) As DicomImage
Parameters
URL
The fully qualified URL of the object to be read.
This is passed unmodified to the operating system, and it is therefore the container’s responsibility to ensure that a fully qualified, accessible URL is provided.
Remarks

The URL may begin http://, https://, ftp://, gopher:// or file://, and the appropriate access method will be used.  Note that for local files, security restrictions apply.
Where authentication is required, the standard format may be used:

ReadURL(“http://username:password@servername/path”)

This method can read either official “Part10” format files with the 128 byte header, or unofficial “Part3” format files without a header, and detection of the type is automatic.
The file may have been written by the WriteFile method or by other DICOM software.

See Also