CryptoStream.SetLength(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the length of the current stream.
public:
override void SetLength(long value);
public override void SetLength (long value);
override this.SetLength : int64 -> unit
Public Overrides Sub SetLength (value As Long)
Parameters
- value
- Int64
The desired length of the current stream in bytes.
Exceptions
This property exists only to support inheritance from Stream, and cannot be used.
Remarks
This property exists only to support inheritance from Stream, and cannot be used.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.