/* * Initialize the TLS Subsystem. * * This method may be called at any time. It ensures that the TLS Subsystem is * initialized and a provider available. */ public static void Initialize() { NoReflectionHelper.Initialize(); }
/* * Initialize the TLS Subsystem with a specific provider. * * May only be called at application startup (before any of the TLS / Certificate * APIs have been used). * * Throws @NotSupportedException if the TLS Subsystem is already initialized * (@IsInitialized returns true) or the requested provider is not supported. * * On mobile, this will always throw @NotSupportedException when using the linker. */ public static void Initialize(string provider) { NoReflectionHelper.Initialize(provider); }