public static PluginBarcodeMobileComputer ConnectPluginMobileComputer(string serviceName, Context context)
        {
            //var conn = BarcodeDevicePluginsManager.GetRemoteBarcodeScannerService(serviceName);

            var manager = new BarcodeDevicePluginsManager();

            var conn = manager.GetRemoteBarcodeScannerService(serviceName);

            if (conn != null)
            {
                return(new PluginBarcodeMobileComputer(serviceName, conn, context));
            }

            return(null);
        }
 private void DisconnectPlugin()
 {
     //BarcodeDevicePluginsManager.RemoveRemoteBarcodeScannerService(serviceName);
     BarcodeDevicePluginsManager.RemoveService(serviceName);
 }