Table of Contents

Class ProxyAddress

Namespace
Gio
Assembly
Gio-2.0.dll
public class ProxyAddress : InetSocketAddress, IObject, INotifyPropertyChanged, IDisposable, SocketConnectable, IHandle, GTypeProvider
Inheritance
ProxyAddress
Implements
Inherited Members

Constructors

ProxyAddress(bool, params ConstructArgument[])

protected ProxyAddress(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

ProxyAddress(IntPtr, bool)

protected ProxyAddress(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

DestinationHostnamePropertyDefinition

public static readonly Property<string?, ProxyAddress> DestinationHostnamePropertyDefinition

Field Value

Property<string, ProxyAddress>

DestinationPortPropertyDefinition

public static readonly Property<uint, ProxyAddress> DestinationPortPropertyDefinition

Field Value

Property<uint, ProxyAddress>

DestinationProtocolPropertyDefinition

public static readonly Property<string?, ProxyAddress> DestinationProtocolPropertyDefinition

Field Value

Property<string, ProxyAddress>

PasswordPropertyDefinition

public static readonly Property<string?, ProxyAddress> PasswordPropertyDefinition

Field Value

Property<string, ProxyAddress>

ProtocolPropertyDefinition

public static readonly Property<string?, ProxyAddress> ProtocolPropertyDefinition

Field Value

Property<string, ProxyAddress>

UriPropertyDefinition

public static readonly Property<string?, ProxyAddress> UriPropertyDefinition

Field Value

Property<string, ProxyAddress>

UsernamePropertyDefinition

public static readonly Property<string?, ProxyAddress> UsernamePropertyDefinition

Field Value

Property<string, ProxyAddress>

Properties

DestinationHostname

public string? DestinationHostname { get; }

Property Value

string

DestinationPort

public uint DestinationPort { get; }

Property Value

uint

DestinationProtocol

public string? DestinationProtocol { get; }

Property Value

string

Password

public string? Password { get; }

Property Value

string

Protocol

public string? Protocol { get; }

Property Value

string

Uri

public string? Uri { get; }

Property Value

string

Username

public string? Username { get; }

Property Value

string

Methods

Enumerate()

[Version("2.22")]
public SocketAddressEnumerator Enumerate()

Returns

SocketAddressEnumerator

GetDestinationHostname()

[Version("2.26")]
public string GetDestinationHostname()

Returns

string

GetDestinationPort()

[Version("2.26")]
public ushort GetDestinationPort()

Returns

ushort

GetDestinationProtocol()

[Version("2.34")]
public string GetDestinationProtocol()

Returns

string

GetGType()

public static Type GetGType()

Returns

Type

GetPassword()

[Version("2.26")]
public string? GetPassword()

Returns

string

GetProtocol()

[Version("2.26")]
public string GetProtocol()

Returns

string

GetUri()

[Version("2.34")]
public string? GetUri()

Returns

string

GetUsername()

[Version("2.26")]
public string? GetUsername()

Returns

string

New(InetAddress, ushort, string, string, ushort, string?, string?)

[Version("2.26")]
public static ProxyAddress New(InetAddress inetaddr, ushort port, string protocol, string destHostname, ushort destPort, string? username, string? password)

Parameters

inetaddr InetAddress
port ushort
protocol string
destHostname string
destPort ushort
username string
password string

Returns

ProxyAddress

ProxyEnumerate()

[Version("2.26")]
public SocketAddressEnumerator ProxyEnumerate()

Returns

SocketAddressEnumerator

ToString()

[Version("2.48")]
public string ToString()

Returns

string