public static SfDeviceClient CreateSfDeviceClient(HwProductKey hwProductKey, string certificatePath) { SfDeviceClient sfDeviceClient = CreateSfDeviceClient(hwProductKey); sfDeviceClient._certificatePath = certificatePath; return(sfDeviceClient); }
public static SfDeviceClient CreateSfDeviceClient(HwProductKey hwProductKey) { showAppVersion(); if (hwProductKey == null || hwProductKey.email == null || hwProductKey.password == null) { throw new ArgumentNullException(nameof(hwProductKey)); } SfDeviceClient sfDeviceClient = new SfDeviceClient(hwProductKey); return(sfDeviceClient); }