Пример #1
0
 /// <summary>
 ///  Inspects a heapnode_id (also known as a HNID) to determine if
 ///  it is a node_id (NID), [MS-PST] 2.3.3.2
 /// </summary>
 /// <param name="id">The heapnode_id</param>
 /// <returns>true if this is a node_id of a subnode</returns>
 public static bool is_subnode_id(HeapNodeID id)
 {
     return(NodeID.get_nid_type(id) != NidType.nid_type_none);
 }
Пример #2
0
 /// <summary>
 /// Inspects a heapnode_id (also known as a HNID) to determine if
 /// it is a heap_id (HID), [MS-PST] 2.3.3.2
 /// </summary>
 /// <param name="id">The heapnode_id</param>
 /// <returns>true if this is a heap_id</returns>
 public static bool is_heap_id(HeapNodeID id)
 {
     return(NodeID.get_nid_type(id) == NidType.nid_type_none);
 }