C# Class Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smb2.CREATE_Request

When the server receives an SMB2 CREATE Request, it MUST create a file if the file does not exist; otherwise, it MUST open the existing file. In case of a named pipe or printer, the server MUST create a new file.This request is composed of an SMB2 header, as specified in section , that is followed by this request structure:
Show file Open project: Microsoft/WindowsProtocolTestSuites

Public Properties

Property Type Description
RequestedOplockLevel RequestedOplockLevel_Values
SecurityFlags SecurityFlags_Values

Property Details

RequestedOplockLevel public property

The requested oplock level. This field MUST contain one of the following values:-based clients never use exclusive oplocks. Because there are no situations where the client would want an exclusive oplock where it would not also want an SMB2_OPLOCK_LEVEL_BATCH, it always requests an SMB2_OPLOCK_LEVEL_BATCH.
public RequestedOplockLevel_Values RequestedOplockLevel
return RequestedOplockLevel_Values

SecurityFlags public property

The Quality of Service (QoS) security flags. This field MUST be constructed by using the following values:
public SecurityFlags_Values SecurityFlags
return SecurityFlags_Values