PutString() public méthode

public PutString ( ControlAttributes attribute, string value ) : void
attribute ControlAttributes
value string
Résultat void
	public static ControlMessage EnableMessage(string unique_name, string call, ushort creation_delay_ms)
	{
		ControlMessage msg = new ControlMessage ();

		msg.NewMessage (ControlCommands.ENABLE);
		msg.PutString (ControlAttributes.UNIQUE_NAME, unique_name);
		msg.PutString (ControlAttributes.CALL, call);
		msg.PutU16 (ControlAttributes.CRATION_DELAY_MS, creation_delay_ms);

		return msg;
	}
	public static ControlMessage DisableMessage(string unique_name)
	{
		ControlMessage msg = new ControlMessage ();

		msg.NewMessage (ControlCommands.DISABLE);
		msg.PutString (ControlAttributes.UNIQUE_NAME, unique_name);
	
		return msg;
	}