public static int DLN2Connect() { DiolanU2C.DlnConnect("localhost", (ushort)9656); uint pDeviceCount = 0; int deviceCount = (int)DiolanU2C.DlnGetDeviceCount(ref pDeviceCount); return(pDeviceCount < 1U ? 0 : 1); }
public static int DLN2Connect() { DiolanU2C.DlnConnect("localhost", (ushort)9656); uint pDeviceCount = 0; int deviceCount = (int)DiolanU2C.DlnGetDeviceCount(ref pDeviceCount); return(pDeviceCount < 1U ? 0 : 1); }