// (c) 2006 Richard Grimes // www.grimes.demon.co.uk using System; using System.Security.Cryptography; class App { static void Main() { RSACryptoServiceProvider rsa = new RSACryptoServiceProvider(); Console.WriteLine("Container name: {0}\nKey type: {1}", rsa.CspKeyContainerInfo.KeyContainerName, rsa.CspKeyContainerInfo.KeyNumber); Console.WriteLine("Accessible? {0}\nExportable? {1}", rsa.CspKeyContainerInfo.Accessible, rsa.CspKeyContainerInfo.Exportable); } }