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

Ejemplo n.º 1
0
		public void SetLength () 
		{
			DebugStream debug = new DebugStream ();
			cs = new CryptoStream (debug, encryptor, CryptoStreamMode.Read);
			cs.SetLength (0);
		}