DefaultUID example for C#
//LEADDICOM1 is a DICOM Dataset defined outside this method
private void TestDefaultUID ( )
{
System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.WaitCursor;
//Restore to default values
LEADDICOM1.DefaultUID();
System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.Default;
}