Class ProxyAddress
- Namespace
- Gio
- Assembly
- Gio-2.0.dll
public class ProxyAddress : InetSocketAddress, IDisposable, SocketConnectable, GTypeProvider, InstanceFactory
- Inheritance
-
ProxyAddress
- Implements
-
- Inherited Members
-
Constructors
ProxyAddress(params ConstructArgument[])
public ProxyAddress(params ConstructArgument[] constructArguments)
Parameters
constructArguments
ConstructArgument[]
ProxyAddress(ProxyAddressHandle)
public ProxyAddress(ProxyAddressHandle handle)
Parameters
handle
ProxyAddressHandle
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