Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text value to HEX
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
01056827
Message ID:
01056833
Views:
16
Alan,
I am not 100% sure I understand what you are asking so I will ask you is I understand you correctly.

Do you want to pass a string (System.String) to a method that returns another string (System.String)?
Something like this:
string myString = "abcd";
string resultString = SomeMethod(myString);
// resultString is now equal to: "61626364"
//  or do you want resultString to equal: "0x61 0x62 0x63 0x64"
Einar

>I want to build a string of characters, similar to a UPC code. Then convert those characters into a string of equivilant Hexa-decimal bytes (in test) each seperated by a space. I need it this way to pass it to some RFID hardware.
>
>Is there a pre-built class in C# that can convert the ASCII character to a HEX string? If not, does anyone have a way to accomplish this?
>
>thanks
>
>Alan Wyne
Semper ubi sub ubi.
Previous
Reply
Map
View

Click here to load this message in the networking platform