Method Create
Create(NetworkSettings)
Create a new NetworkDriver with custom settings.
Declaration
public static NetworkDriver Create(NetworkSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkSettings | settings | Configuration for the driver. |
Returns
| Type | Description |
|---|---|
| NetworkDriver | Newly-constructed driver. |
Create()
Create a new NetworkDriver with default settings.
Declaration
public static NetworkDriver Create()
Returns
| Type | Description |
|---|---|
| NetworkDriver | Newly-constructed driver. |
Create<N>(N)
Create a new NetworkDriver with a custom network interface.
Declaration
public static NetworkDriver Create<N>(N networkInterface) where N : unmanaged, INetworkInterface
Parameters
| Type | Name | Description |
|---|---|---|
| N | networkInterface | Instance of the custom network interface. |
Returns
| Type | Description |
|---|---|
| NetworkDriver | Newly-constructed driver. |
Type Parameters
| Name | Description |
|---|---|
| N | Type of the network interface to use. |
Create<N>(ref N)
Create a new NetworkDriver with a custom network interface.
Declaration
public static NetworkDriver Create<N>(ref N networkInterface) where N : unmanaged, INetworkInterface
Parameters
| Type | Name | Description |
|---|---|---|
| N | networkInterface | Instance of the custom network interface. |
Returns
| Type | Description |
|---|---|
| NetworkDriver | Newly-constructed driver. |
Type Parameters
| Name | Description |
|---|---|
| N | Type of the network interface to use. |
Create<N>(N, NetworkSettings)
Create a new NetworkDriver with a custom network interface and custom settings.
Declaration
public static NetworkDriver Create<N>(N networkInterface, NetworkSettings settings) where N : unmanaged, INetworkInterface
Parameters
| Type | Name | Description |
|---|---|---|
| N | networkInterface | Instance of the custom network interface. |
| NetworkSettings | settings | Configuration for the driver. |
Returns
| Type | Description |
|---|---|
| NetworkDriver | Newly-constructed driver. |
Type Parameters
| Name | Description |
|---|---|
| N | Type of the network interface to use. |
Create<N>(ref N, NetworkSettings)
Create a new NetworkDriver with a custom network interface and custom settings.
Declaration
public static NetworkDriver Create<N>(ref N networkInterface, NetworkSettings settings) where N : unmanaged, INetworkInterface
Parameters
| Type | Name | Description |
|---|---|---|
| N | networkInterface | Instance of the custom network interface. |
| NetworkSettings | settings | Configuration for the driver. |
Returns
| Type | Description |
|---|---|
| NetworkDriver | Newly-constructed driver. |
Type Parameters
| Name | Description |
|---|---|
| N | Type of the network interface to use. |