using System.Security.Cryptography;
public static void Main()
var privateKeyBytes = Convert.FromBase64String(@"MIGTAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBHkwdwIBAQQgEG+HWAY3abyKgAIpdilNirlvECMk4bX4qtQUdsg5f26gCgYIKoZIzj0DAQehRANCAARVNxHLhkXQV8Xrs6RL5/Hapsooer5oZtHImz0Sb01aSNs7u4orCtakxgB3zD5MPwnNpR3Frhhdh/x7e3bqwu5C");
var ecdsa = ECDsa.Create();
ecdsa.ImportPkcs8PrivateKey(privateKeyBytes, out _);
Jwk key = new Jwk(ecdsa);
Console.WriteLine(key.ToJson().ToString());