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

Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
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