CryptoServiceProvider.GetSystemProviders Method
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: 11.2.0 build 590 for .NET 4.5
public static string[] GetSystemProviders()

Return Value

Type: String
A reference to the array of string names of all CSPs supported by the operating system.
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)
See Also