The Frame class represents all the data in one record, or frame, in a communications trace for a LAN line description. Each Frame contains three main sections of data that appear in the following order:
Use the Frame class to parse and create a printable representation the data in the frame. The Frame class maintains the packet data in a linked list-like structure that uses specific formats. For specific information about the possible formats for packet data in a frame and for general information about the structure of a frame, see the following:
The Frame class provides methods that allow you to perform a variety of actions that include the following:
You can use the following process to access the data in a packet:
The following example shows how you can use many of the commtrace classes, including the Format and FormatProperties classes, to display trace information to your monitor:
Example: Using the commtrace classes