DicomObjects.NET Core Documentation
DicomObjects Namespace / DicomGlobal Class / NewUID Method



In This Topic
    NewUID Method
    In This Topic
    Generates a guaranteed unique valid DICOM UID
    Syntax
    'Declaration
     
    
    Public Shared Function NewUID() As String
    'Usage
     
    
    Dim value As String
     
    value = DicomGlobal.NewUID()
    public static string NewUID()
    public:
    static String^ NewUID(); 

    Return Value

    String
    Remarks
    The UIDRoot property is used, followed by a unique combination of thread ID, date/time and an incrementing counter
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also