Method Create
Create(NetworkSettings)
Create a new NetworkDriver
with custom settings.
Declaration
public static NetworkDriver Create(NetworkSettings settings)
Parameters
Type | Name | Description |
---|---|---|
Network |
settings | Configuration for the driver. |
Returns
Type | Description |
---|---|
Network |
Newly-constructed driver. |
Create()
Create a new NetworkDriver
with default settings.
Declaration
public static NetworkDriver Create()
Returns
Type | Description |
---|---|
Network |
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 |
---|---|
Network |
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 |
---|---|
Network |
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. |
Network |
settings | Configuration for the driver. |
Returns
Type | Description |
---|---|
Network |
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. |
Network |
settings | Configuration for the driver. |
Returns
Type | Description |
---|---|
Network |
Newly-constructed driver. |
Type Parameters
Name | Description |
---|---|
N | Type of the network interface to use. |