From 87647aaeedce80fe0b12755b93526028515f9375 Mon Sep 17 00:00:00 2001 From: Ercument Eskar <4041591+ercumenteskar@users.noreply.github.com> Date: Sat, 8 Jun 2019 12:08:09 +0300 Subject: [PATCH] Design-Time Error Error CS0122 'Signature' is inaccessible due to its protection level X-Signature ismi verilemiyor (.Net 4.5) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c61070b..9f30354 100644 --- a/README.md +++ b/README.md @@ -200,7 +200,7 @@ string message = yourAPIKey + nonce; using (HMACSHA256 hmac = new HMACSHA256(Convert.FromBase64String(yourPrivateKey))) { byte[] signatureBytes = hmac.ComputeHash(Encoding.UTF8.GetBytes(message)); - string X-Signature = Convert.ToBase64String(signatureBytes)); + string X_Signature = Convert.ToBase64String(signatureBytes)); } ``` After creating the parameters, you have to send them in the HTML Header of your request with their name