Class SecurityOrigin
- Namespace
- WebKit
- Assembly
- WebKit-6.0.dll
public sealed class SecurityOrigin : BoxedRecord, IEquatable<SecurityOrigin>
- Inheritance
-
SecurityOrigin
- Implements
- Inherited Members
Constructors
SecurityOrigin(SecurityOriginOwnedHandle)
public SecurityOrigin(SecurityOriginOwnedHandle handle)
Parameters
handle
SecurityOriginOwnedHandle
Properties
Handle
public SecurityOriginOwnedHandle Handle { get; }
Property Value
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Equals(SecurityOrigin?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(SecurityOrigin? other)
Parameters
other
SecurityOriginAn object to compare with this object.
Returns
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetHost()
[Version("2.16")]
public string? GetHost()
Returns
GetPort()
[Version("2.16")]
public ushort GetPort()
Returns
GetProtocol()
[Version("2.16")]
public string? GetProtocol()
Returns
New(string, string, ushort)
[Version("2.16")]
public static SecurityOrigin New(string protocol, string host, ushort port)
Parameters
Returns
NewForUri(string)
[Version("2.16")]
public static SecurityOrigin NewForUri(string uri)
Parameters
uri
string
Returns
Ref()
[Version("2.16")]
public SecurityOrigin Ref()
Returns
ToString()
[Version("2.16")]
public string? ToString()
Returns
Unref()
[Version("2.16")]
public void Unref()