Beispiel #1
0
 /// <summary>Initializes a new instance of the <see cref="BackupStreamInfo"/> class.</summary>
 /// <param name="streamID">The stream ID.</param>
 /// <param name="name">The name.</param>
 internal BackupStreamInfo(NativeMethods.WIN32_STREAM_ID streamID, string name)
 {
     m_name       = name;
     m_size       = (long)streamID.Size;
     m_attributes = streamID.dwStreamAttributes;
     m_streamType = streamID.dwStreamId;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BackupStreamInfo"/> class.
 /// </summary>
 /// <param name="streamID">The stream ID.</param>
 /// <param name="name">The name.</param>
 internal BackupStreamInfo(NativeMethods.WIN32_STREAM_ID streamID, string name)
 {
    m_size = (long)streamID.StreamSize;
    m_name = name;
    m_attributes = (StreamAttributes)streamID.StreamAttributes;
    m_streamType = (BackupStreamType)streamID.StreamType;
 }