/// <summary>
 ///  Query a device for which methods it supports. By supplying the methods you support
 ///  the library could remap the methods a device support for better fit the application.
 /// </summary>
 /// <param name="deviceId">Id of device to query</param>
 /// <param name="methodsSupported">Methods that the client application supports</param>
 /// <returns>Supported (both by client application and by device) method-flags OR'ed into an integer
 /// TELLSTICK_TURNON
 /// TELLSTICK_TURNOFF
 /// TELLSTICK_BELL
 /// TELLSTICK_TOGGLE
 /// TELLSTICK_DIM
 /// TELLSTICK_EXECUTE
 /// TELLSTICK_UP
 /// TELLSTICK_DOWN
 /// TELLSTICK_EXECUTE
 /// TELLSTICK_LEARN
 /// </returns>
 public static int tdMethods(int deviceId, int methodsSupported)
 {
     return(UnmanagedImport.tdMethods(deviceId, methodsSupported));
 }