Sign in
Windows SDK Support Team Blog
#define _WIN32_WINNT
Common Tasks
Blog Home
Email Blog Author
OK
RSS for comments
RSS for posts
Atom
Search Form
Tag Cloud
Access Denied
Base
certificate
Certification
CreateProcessAsUser
CreateProcessWithLogonW
Crypto
CryptographicException
integrity level
LogonUser
LogonUser()
Microsoft Platform Ready Test Tool
MPR Test Tool
Networking
performance counters
Security
Service
SeTcbPrivilege
setsockopt
signtool
Token
UAC
windows media
windows media encoder
WTSQueryUserToken
Monthly Archives
Archives
May 2013
(3)
April 2013
(2)
March 2013
(2)
February 2013
(3)
January 2013
(1)
September 2012
(2)
November 2010
(3)
August 2010
(2)
May 2010
(12)
January 2010
(7)
December 2009
(2)
November 2009
(30)
October 2009
(4)
September 2009
(1)
August 2009
(1)
July 2009
(7)
Browse by Tags
MSDN Blogs
>
Windows SDK Support Team Blog
>
All Tags
>
cryptostream
Tagged Content List
Blog Post:
Do you need to explicitly call CryptoStream.Close() to close your CryptoStream object after you are done using it?
Prateek Kr Dubey
You can verify this with a simple program, stated below that shows that CryptoStream.Close() is explicitly not required. The expected result should be 104 since 13 bytes should be allocated. We get 104 with a call to Close() or without calling Close(). 1: using System; 2: using System.IO; ...
on
13 Nov 2009
Page 1 of 1 (1 items)