![]()  | 
  
Chilkat  HOME  Android™  AutoIt  C  C#  C++  Chilkat2-Python  CkPython  Classic ASP  DataFlex  Delphi DLL  Go  Java  Node.js  Objective-C  PHP Extension  Perl  PowerBuilder  PowerShell  PureBasic  Ruby  SQL Server  Swift  Tcl  Unicode C  Unicode C++  VB.NET  VBScript  Visual Basic 6.0  Visual FoxPro  Xojo Plugin
 
      (.NET Core C#) List CSP's (Cryptographic Service Providers) on a Windows SystemList the CSP's registered on a Windows system. Note: This example requires Chilkat v9.5.0.77 or greater. 
 Chilkat.Csp csp = new Chilkat.Csp(); Chilkat.StringTable st = new Chilkat.StringTable(); bool success = csp.GetProviders(st); if (success == false) { Debug.WriteLine(csp.LastErrorText); return; } // Iterate over the CSP names.. int i = 0; int numProviders = st.Count; while (i < numProviders) { Debug.WriteLine(Convert.ToString(i) + ": " + st.StringAt(i)); i = i + 1; } // Sample output: // // 0: Microsoft Base Cryptographic Provider v1.0 // 1: Microsoft Base DSS and Diffie-Hellman Cryptographic Provider // 2: Microsoft Base DSS Cryptographic Provider // 3: Microsoft Base Smart Card Crypto Provider // 4: Microsoft DH SChannel Cryptographic Provider // 5: Microsoft Enhanced Cryptographic Provider v1.0 // 6: Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider // 7: Microsoft Enhanced RSA and AES Cryptographic Provider // 8: Microsoft RSA SChannel Cryptographic Provider // 9: Microsoft Strong Cryptographic Provider //  | 
  ||||
© 2000-2025 Chilkat Software, Inc. All Rights Reserved.