Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Something similar to text /endtext in C#
Message
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 5.0
OS:
Windows 10
Database:
MS SQL Server
Divers
Thread ID:
01634710
Message ID:
01634745
Vues:
53
>>>The string will come from C++ application. Right now I want to simulate a test of such string.
>>
>>IIRC, a C++ string is a byte array. You could try:
string s = Convert.ToBase64String(cplusstring);
>
And if it works, how can I get back byte array from that?

Although it does not work, as I have it as a string and the ToBase64String accepts a byte array instead.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform