Table of Contents

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

SecurityOriginOwnedHandle

Methods

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Equals(SecurityOrigin?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(SecurityOrigin? other)

Parameters

other SecurityOrigin

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetGType()

public static Type GetGType()

Returns

Type

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

string

GetPort()

[Version("2.16")]
public ushort GetPort()

Returns

ushort

GetProtocol()

[Version("2.16")]
public string? GetProtocol()

Returns

string

New(string, string, ushort)

[Version("2.16")]
public static SecurityOrigin New(string protocol, string host, ushort port)

Parameters

protocol string
host string
port ushort

Returns

SecurityOrigin

NewForUri(string)

[Version("2.16")]
public static SecurityOrigin NewForUri(string uri)

Parameters

uri string

Returns

SecurityOrigin

Ref()

[Version("2.16")]
public SecurityOrigin Ref()

Returns

SecurityOrigin

ToString()

[Version("2.16")]
public string? ToString()

Returns

string

Unref()

[Version("2.16")]
public void Unref()