-
Notifications
You must be signed in to change notification settings - Fork 0
IHeader Interface
Max edited this page Nov 23, 2020
·
7 revisions
File: Petersilie.ManagementTools.NetworkMonitor.IHeader.cs
Namespace: Petersilie.ManagementTools.NetworkMonitor
Every header that is not a Internet Protocol header should implement this interface.
byte[] Packet { get; }Description: Raw packet data that contains header bytes and data payload.
Protocol Protocol { get; }Description: Protocol enum that can be used in the class that implements this interface to determine which Protocol is beeing implemented.
byte[] ToByte()Description: Function that converts the protocol that implements this interface back into a raw byte stream
System.IO.Stream ToStream()Description: Function that converts the protocol that implements this interface back into a Stream object.