Table of Contents

Class NetworkService

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

Constructors

NetworkService(bool, params ConstructArgument[])

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

Parameters

owned bool
constructArguments ConstructArgument[]

NetworkService(IntPtr, bool)

protected NetworkService(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

DomainPropertyDefinition

public static readonly Property<string?, NetworkService> DomainPropertyDefinition

Field Value

Property<string, NetworkService>

ProtocolPropertyDefinition

public static readonly Property<string?, NetworkService> ProtocolPropertyDefinition

Field Value

Property<string, NetworkService>

SchemePropertyDefinition

public static readonly Property<string?, NetworkService> SchemePropertyDefinition

Field Value

Property<string, NetworkService>

ServicePropertyDefinition

public static readonly Property<string?, NetworkService> ServicePropertyDefinition

Field Value

Property<string, NetworkService>

Properties

Domain

public string? Domain { get; }

Property Value

string

Protocol

public string? Protocol { get; }

Property Value

string

Scheme

public string? Scheme { get; set; }

Property Value

string

Service

public string? Service { get; }

Property Value

string

Methods

Enumerate()

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

Returns

SocketAddressEnumerator

GetDomain()

[Version("2.22")]
public string GetDomain()

Returns

string

GetGType()

public static Type GetGType()

Returns

Type

GetProtocol()

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

Returns

string

GetScheme()

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

Returns

string

GetService()

[Version("2.22")]
public string GetService()

Returns

string

New(string, string, string)

[Version("2.22")]
public static NetworkService New(string service, string protocol, string domain)

Parameters

service string
protocol string
domain string

Returns

NetworkService

ProxyEnumerate()

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

Returns

SocketAddressEnumerator

SetScheme(string)

[Version("2.26")]
public void SetScheme(string scheme)

Parameters

scheme string

ToString()

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

Returns

string