CryptoConfig.AddOID(String, String[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a set of names to object identifier (OID) mappings to be used for the current application domain.
public:
static void AddOID(System::String ^ oid, ... cli::array <System::String ^> ^ names);
public static void AddOID (string oid, params string[] names);
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static void AddOID (string oid, params string[] names);
[System.Security.SecurityCritical]
public static void AddOID (string oid, params string[] names);
static member AddOID : string * string[] -> unit
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member AddOID : string * string[] -> unit
[<System.Security.SecurityCritical>]
static member AddOID : string * string[] -> unit
Public Shared Sub AddOID (oid As String, ParamArray names As String())
Parameters
- oid
- String
The object identifier (OID) to map to.
- names
- String[]
An array of names to map to the OID.
- Attributes
Exceptions
The oid
or names
parameter is null
.
One of the entries in the names
parameter is empty or null
.
Remarks
The specified mappings take precedence over the built-in mappings and the mappings in the machine.config file. The mappings are used to prevent partially trust code from using trusted cryptographic operations.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για