Exemplo n.º 1
0
 /// <summary>
 /// Check if a service, characteristic, or descriptor is blocked.
 /// </summary>
 /// <param name="uuid">The UUID of a service, characteristic, or descriptor.</param>
 /// <returns>The status of the UUID on the block-list, or "Included" if it is not blocked.</returns>
 public static BlockListStatus GetBlockListStatus(Guid uuid)
 {
     return(BlockList.TryGetValue(uuid, out var status) ? status : BlockListStatus.Include);
 }