DicomObjects.NET.8.48 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 System.String
    'Usage
     
    
    Dim value As System.String
     
    value = DicomGlobal.NewUID()
    public static System.string NewUID()
    public function NewUID(): System.String; static; 
    public static function NewUID() : System.String;
    public: static System.string* NewUID(); 
    public:
    static System.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: .NET CLR 4.8 or higher

    See Also