Re: File Size
"Shawn Wildermuth (MVP)" <[email protected]> Mon, 23 Jul 2007 21:15:33 -0400
| Newsgroups | gmane.comp.windows.devel.dotnet.web |
|---|---|
| Message-ID | <[email protected]> |
You could save it to a MemoryStream and check the size...not very efficient but it works. Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com Microsoft MVP (C#), MCSD.NET, Author and Speaker -----Original Message----- From: Discussion of building .NET applications targeted for the Web [mailto:[email protected]] On Behalf Of Andrew Dunn Sent: Monday, July 23, 2007 9:12 PM To: [email protected] Subject: [DOTNET-WEB] File Size Hi, I have an image in a Bitmap object. Does anyone know if it is possible to get a size of the file stored in memory (without saving it to disk)? Thank you Andrew =================================== This list is hosted by DevelopMentor. http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com