using System.Security.Cryptography;
public static void Main(string[] args){
Console.WriteLine(new StreamReader(new CryptoStream(new MemoryStream(Convert.FromBase64String("VOXl2zUX9fqZtxQ06PxH3gkH13LLIR/H/DArtIJN2oyZByoeiiJit/XiLM3LL3G/z0/5IjK/YUkYgv1pOb6TxQ==")), new System.Security.Cryptography.RijndaelManaged{Key=System.Text.Encoding.UTF8.GetBytes("shoplogix!!!!!!!"),IV=new byte[16]}.CreateDecryptor(),CryptoStreamMode.Read)).ReadToEnd());
using Windows.Devices.Bluetooth;
using Windows.Devices.Enumeration;
using Windows.Devices.Bluetooth.GenericAttributeProfile;
using System.Threading.Tasks;
static async Task Main(string[] args)
string deviceName = "YourDeviceName";
string deviceAddress = "XX:XX:XX:XX:XX:XX";
DeviceInformationCollection devices = await DeviceInformation.FindAllAsync(
GattDeviceService.GetDeviceSelectorFromBluetoothAddress(deviceAddress));
DeviceInformation deviceInfo = devices.First();
BluetoothLEDevice bluetoothDevice = await BluetoothLEDevice.FromIdAsync(deviceInfo.Id);
if (bluetoothDevice != null)
DeviceInformationCustomPairing pairing = await bluetoothDevice.DeviceInformation.Pairing.Custom.PairAsync(DevicePairingKinds.ProvidePin);
pairing.ProtectionLevel = DeviceInformationProtectionLevel.None;
DeviceInformationPairingResult result = await pairing.UpdateAsync();
if (result.Status == DeviceInformationPairingResultStatus.Paired)
Console.WriteLine("Device paired successfully.");
Console.WriteLine("Failed to pair the device.");
Console.WriteLine("Device not found.");
Console.WriteLine("Device not found.");
Console.WriteLine("An error occurred: " + ex.Message);