CryptoServiceProviderGetSystemProviders Method |
Gets the list of all CPSs that are registered in the operating system.
Namespace: MailBee.SecurityAssembly: MailBee.NET.45 (in MailBee.NET.45.dll) Version: 10.0.45.502
Syntaxpublic static string[] GetSystemProviders()
Public Shared Function GetSystemProviders As String()
Return Value
Type:
StringA reference to the array of string names of all CSPs supported by the operating system.
ExamplesThis sample displays the names of all supported CSPs.
using System;
using MailBee.Security;
string[] cryptoProviderNames = CryptoServiceProvider.GetSystemProviders();
foreach (string name in cryptoProviderNames)
{
Console.WriteLine(name);
}
Imports MailBee.Security
Dim cryptoProviderNames As String() = CryptoServiceProvider.GetSystemProviders()
For Each name As String In cryptoProviderNames
Console.WriteLine(name)
Next
See Also