Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text value to HEX
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Divers
Thread ID:
01056827
Message ID:
01056833
Vues:
17
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform