Posts by user24503 • 41 points
2 posts
-
1
votes1
answer141
viewsQ: c# hexa conversion
I need to create an array of bytes with the following content: byte[] arr = new byte { 0x4f, 0x4e }; I happen to have the string "ON", where "O" = 4f in hexa and "N" = 4e I have tried directly…
-
3
votes0
answers1135
viewsQ: Restsharp using ssl certificate
Need to use certificate to connect to a server https with restsharp. I’m using this code: var client = new RestClient(url); client.ClientCertificates = new X509CertificateCollection();…