System.Security.Cryptography.CryptoStream.SetLength C# (CSharp) Method

SetLength() public method

public SetLength ( long value ) : void
value long
return void
        public override void SetLength(long value)
        {
            throw new NotSupportedException(SR.NotSupported_UnseekableStream);
        }

Usage Example

コード例 #1
0
ファイル: CryptoStreamTest.cs プロジェクト: runefs/Marvin
		public void SetLength () 
		{
			DebugStream debug = new DebugStream ();
			cs = new CryptoStream (debug, encryptor, CryptoStreamMode.Read);
			cs.SetLength (0);
		}