Exemplo n.º 1
0
 protected override bool CanHandleDeviceCommand(DeviceCommand command)
 {
     try {
         SafeUri uri = new SafeUri(command.DeviceId);
         return(BaseDirectory.StartsWith(uri.LocalPath));
     } catch {
         return(false);
     }
 }