CryptoServiceProviderGetSystemProviders Method
Gets the list of all CPSs that are registered in the operating system.

Namespace: MailBee.Security
Assembly: MailBee.NET.45 (in MailBee.NET.45.dll) Version: 10.0.45.502
Syntax
public static string[] GetSystemProviders()

Return Value

Type: String
A reference to the array of string names of all CSPs supported by the operating system.
Examples
This sample displays the names of all supported CSPs.
// To use the code below, import these namespaces at the top of your code
using System;
using MailBee.Security;

// The actual code (put it into a method of your class).
string[] cryptoProviderNames = CryptoServiceProvider.GetSystemProviders();

foreach (string name in cryptoProviderNames)
{
    Console.WriteLine(name);
}
See Also