/// <summary> /// Get a protocol specific device parameter /// </summary> /// <param name="deviceId">The id of the device to query</param> /// <param name="name">The name of the parameter to query</param> /// <param name="defaultValue">A defaultValue to return if the current parameter hasn't previously been set</param> /// <returns>Any protocol specific parameter specified by "name"</returns> public static unsafe string tdGetDeviceParameter(int deviceId, string name, string defaultValue) { return(getString(UnmanagedImport.tdGetDeviceParameter(deviceId, stringToChar(name), stringToChar(defaultValue)))); }