Method Create
Create(NetworkSettings)
Helper function for creating a NetworkDriver.
Declaration
public static NetworkDriver Create(NetworkSettings settings)
Parameters
Type | Name | Description |
---|---|---|
NetworkSettings | settings | The NewtorkSettings for the new driver. |
Returns
Type | Description |
---|---|
NetworkDriver | The new NetworkDriver. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException |
Create()
Helper function for creating a NetworkDriver.
Declaration
public static NetworkDriver Create()
Returns
Type | Description |
---|---|
NetworkDriver | The new NetworkDriver. |
Create<N>(N)
Helper function for creating a NetworkDriver.
Declaration
public static NetworkDriver Create<N>(N networkInterface) where N : INetworkInterface
Parameters
Type | Name | Description |
---|---|---|
N | networkInterface | The custom interface to use. |
Returns
Type | Description |
---|---|
NetworkDriver | The new NetworkDriver. |
Type Parameters
Name | Description |
---|---|
N |
Create<N>(N, NetworkSettings)
Helper function for creating a NetworkDriver.
Declaration
public static NetworkDriver Create<N>(N networkInterface, NetworkSettings settings) where N : INetworkInterface
Parameters
Type | Name | Description |
---|---|---|
N | networkInterface | The custom interface to use. |
NetworkSettings | settings | The NewtorkSettings for the new NetworkDriver. |
Returns
Type | Description |
---|---|
NetworkDriver | The new NetworkDriver. |
Type Parameters
Name | Description |
---|---|
N |
Create(params INetworkParameter[])
Declaration
[Obsolete("Use Create(NetworkSettings) instead", false)]
public static NetworkDriver Create(params INetworkParameter[] param)
Parameters
Type | Name | Description |
---|---|---|
INetworkParameter[] | param |
Returns
Type | Description |
---|---|
NetworkDriver |