Convert byte[] or object to GUID

前端 未结 5 2313
一个人的身影
一个人的身影 2021-02-12 10:27

I assigned some value to object data type like,

object objData =dc.GetDirectoryEntry().Properties[\"objectGUID\"].Value;

this object retun the

5条回答
  •  -上瘾入骨i
    2021-02-12 10:46

    The System.DirectoryServices.DirectoryEntry class has the property Guid for this purpose - no need to access the objectGUID attribute through Properties.

提交回复
热议问题