public string Initialize(string path, short logLevel) { using (var encoder = new UTF8Encoder()) { encoder.SetData(path); pResult = TXmlConnectorHelper.Initialize(encoder.Data, logLevel); return(pResult.ToStringUTF8()); } }
public string SendCommand(string command) { using (var encoder = new UTF8Encoder()) { encoder.SetData(command); pResult = TXmlConnectorHelper.SendCommand(encoder.Data); return(pResult.ToStringUTF8()); } }