I assigned some value to object data type like,
object objData =dc.GetDirectoryEntry().Properties[\"objectGUID\"].Value;
this object retun the
byte[] binaryData = objData as byte[]; string strHex = BitConverter.ToString(binaryData); Guid id = new Guid(strHex.Replace("-", ""))