Go to the documentation of this file.
16 using System.Security.Cryptography;
22 static void Main(
string[] args)
24 if (args ==
null || args.Length == 0)
26 Console.WriteLine(
"Key filename not specified.");
29 string path = Directory.GetCurrentDirectory() + args[0];
30 Console.WriteLine(
"Key filename:" + path);
31 if (Console.Out !=
null)
38 using (var provider =
new RSACryptoServiceProvider(4096))
40 return provider.ExportCspBlob(!provider.PublicOnly);
static byte[] GenerateStrongNameKeyPair()