Specifies an entry in the nextwork service definition file.
Namespace:
Teraspaces.QWFramework.NetworkingAssembly: Teraspaces.QWFramework (in Teraspaces.QWFramework.dll) Version: 2.5.0.0 (2.5.0.0)
Syntax
| C# | Visual Basic | Visual C++ | J# |
[SerializableAttribute] public class NetworkService
<SerializableAttribute> _ Public Class NetworkService
[SerializableAttribute] public ref class NetworkService
/** @attribute SerializableAttribute */ public class NetworkService
Members
| All Members | Constructors | Fields | Properties | Methods |
| Member | Description | |
|---|---|---|
| NetworkService()()() |
Initializes a new instance of the NetworkService class.
| |
| NetworkService(String, Int32, String, array<String>[]()[], String) |
Initializes a new instance of the NetworkService class.
| |
| AliasCount |
Gets the count of the aliases of the service.
| |
| Description |
Gets the description of the service.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetAlias(Int32) |
Gets the alias based on the index specified.
| |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsValid |
Gets a value indicating whether this instance is valid.
| |
| MatchesName(String) |
Gets a value indicating whether this entry matches the service name specified.
| |
| MaxPortRegistered |
The maximum port number of registered ports, which are assigned by the IANA organization.
The value is 49151.
| |
| MaxPortWellKnown |
The maximum port number of well known ports, which include the most common services, like SMTP, POP3, FTP, etc.
The value is 1023.
| |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Name |
Gets the name of the service.
| |
| Port |
Gets the port of the service.
| |
| Protocol |
Gets the protocol of the service.
| |
| ProtocolTcp |
A constant string of "tcp".
| |
| ProtocolUdp |
A constant string of "udp".
| |
| Raw |
Gets the raw string of this service entry.
| |
| ToString()()() | (Inherited from Object.) |