Class SetNetworkProtocol
Flag a given network protocol as enabled or disabled
Inherited Members
Namespace: DuetAPI.Commands
Assembly: DuetAPI.dll
Syntax
[RequiredPermissions(SbcPermissions.SuperUser)]
public class SetNetworkProtocol : Command
Remarks
The object model must not be locked from the same connection via LockObjectModel when this is called!
Properties
Enabled
Whether the protocol is enabled or not
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
Protocol
Protocol to change
Declaration
public NetworkProtocol Protocol { get; set; }
Property Value
Type | Description |
---|---|
NetworkProtocol |