Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / SessionCollection Class / Add Method / Add(Stream,Boolean) Method
A file stream of a GLF File to read.
If true, the caller no longer owns the stream and must not further use or dispose it. If false, the method will copy the contents of the stream before returning and will restore its Position, so the caller is responsible for eventually disposing it.

In This Topic
    Add(Stream,Boolean) Method
    In This Topic
    Add a session from the provided GLF File stream
    Syntax
    'Declaration
     
    
    Public Overloads Function Add( _
       ByVal fileStream As Stream, _
       ByVal useOriginalStream As Boolean _
    ) As Session
    public Session Add( 
       Stream fileStream,
       bool useOriginalStream
    )

    Parameters

    fileStream
    A file stream of a GLF File to read.
    useOriginalStream
    If true, the caller no longer owns the stream and must not further use or dispose it. If false, the method will copy the contents of the stream before returning and will restore its Position, so the caller is responsible for eventually disposing it.

    Return Value

    The session object that was affected.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also