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