Class SecurityManager
- Namespace
- WebKit
- Assembly
- WebKit-6.0.dll
public sealed class SecurityManager : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
SecurityManager
- Implements
- Inherited Members
Constructors
SecurityManager(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public SecurityManager(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
SecurityManager(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected SecurityManager(CreationData data)
Parameters
dataCreationData
SecurityManager(SecurityManagerHandle)
protected SecurityManager(SecurityManagerHandle handle)
Parameters
handleSecurityManagerHandle
Methods
GetGType()
public static Type GetGType()
Returns
NewFromPointer(nint, bool)
Creates a new managed SecurityManager instance for a given pointer.
public static SecurityManager NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new SecurityManager and sets the properties specified by the construct arguments.
public static SecurityManager NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
RegisterUriSchemeAsCorsEnabled(string)
public void RegisterUriSchemeAsCorsEnabled(string scheme)
Parameters
schemestring
RegisterUriSchemeAsDisplayIsolated(string)
public void RegisterUriSchemeAsDisplayIsolated(string scheme)
Parameters
schemestring
RegisterUriSchemeAsEmptyDocument(string)
public void RegisterUriSchemeAsEmptyDocument(string scheme)
Parameters
schemestring
RegisterUriSchemeAsLocal(string)
public void RegisterUriSchemeAsLocal(string scheme)
Parameters
schemestring
RegisterUriSchemeAsNoAccess(string)
public void RegisterUriSchemeAsNoAccess(string scheme)
Parameters
schemestring
RegisterUriSchemeAsSecure(string)
public void RegisterUriSchemeAsSecure(string scheme)
Parameters
schemestring
UriSchemeIsCorsEnabled(string)
public bool UriSchemeIsCorsEnabled(string scheme)
Parameters
schemestring
Returns
UriSchemeIsDisplayIsolated(string)
public bool UriSchemeIsDisplayIsolated(string scheme)
Parameters
schemestring
Returns
UriSchemeIsEmptyDocument(string)
public bool UriSchemeIsEmptyDocument(string scheme)
Parameters
schemestring
Returns
UriSchemeIsLocal(string)
public bool UriSchemeIsLocal(string scheme)
Parameters
schemestring
Returns
UriSchemeIsNoAccess(string)
public bool UriSchemeIsNoAccess(string scheme)
Parameters
schemestring
Returns
UriSchemeIsSecure(string)
public bool UriSchemeIsSecure(string scheme)
Parameters
schemestring