Hexadecimal numbers from Active directory

G

Guest

I am using DirectorySearcher to get data from Active Directory. When I obtain
a GUID that is a Hexadecimal number it is automatically translated to a
Decimal number. I need to be able to acquire the Hex number intact. Anyone
have any ideas how to do that?
 
J

Jon Skeet [C# MVP]

owyn said:
I am using DirectorySearcher to get data from Active Directory. When I obtain
a GUID that is a Hexadecimal number it is automatically translated to a
Decimal number. I need to be able to acquire the Hex number intact. Anyone
have any ideas how to do that?

Is it the same number? If so, you could just convert it from decimal
format into hex couldn't you?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top