Click here to Skip to main content
15,913,487 members
Home / Discussions / C#
   

C#

 
GeneralForcing a class to provide a specific ctor Pin
matthias s.23-Aug-04 11:45
matthias s.23-Aug-04 11:45 
GeneralRe: Forcing a class to provide a specific ctor Pin
Werdna23-Aug-04 12:09
Werdna23-Aug-04 12:09 
GeneralThanks! Pin
matthias s.23-Aug-04 12:55
matthias s.23-Aug-04 12:55 
GeneralRe: Forcing a class to provide a specific ctor Pin
Charlie Williams23-Aug-04 12:11
Charlie Williams23-Aug-04 12:11 
GeneralFileStrea,m Pin
Christian Graus23-Aug-04 11:28
protectorChristian Graus23-Aug-04 11:28 
GeneralRe: FileStrea,m Pin
Colin Angus Mackay23-Aug-04 11:36
Colin Angus Mackay23-Aug-04 11:36 
GeneralRe: FileStrea,m Pin
Christian Graus23-Aug-04 11:59
protectorChristian Graus23-Aug-04 11:59 
GeneralRe: FileStrea,m Pin
Heath Stewart24-Aug-04 7:26
protectorHeath Stewart24-Aug-04 7:26 
From the .NET Framework SDK:
The constructor is given read/write access to the file, and it is opened sharing Read access (that is, requests to open the file for writing by this or another process will fail until the FileStream object has been closed, but read attempts will succeed). The buffer size is set to the default size of 4096 bytes (4 KB).
Since you can't simply write to a CD, the request to open the file with FileAccess.ReadWrite would fail. You must, therefore, use another constructor so that you can specify FileAccess.Read only.

 

Software Design Engineer
Developer Division Sustained Engineering, Microsoft
My Articles
GeneralPacket Monitor Pin
Member 131332123-Aug-04 11:14
Member 131332123-Aug-04 11:14 
GeneralRe: Packet Monitor Pin
eggie523-Aug-04 15:25
eggie523-Aug-04 15:25 
GeneralRe: Packet Monitor Pin
leppie23-Aug-04 21:46
leppie23-Aug-04 21:46 
GeneralAmazon.com API 4.0 Help Pin
j1e1g123-Aug-04 11:06
j1e1g123-Aug-04 11:06 
GeneralRe: Amazon.com API 4.0 Help Pin
Heath Stewart24-Aug-04 7:21
protectorHeath Stewart24-Aug-04 7:21 
GeneralParallel port Pin
Christian Graus23-Aug-04 10:42
protectorChristian Graus23-Aug-04 10:42 
GeneralRe: Parallel port Pin
Nick Parker24-Aug-04 4:43
protectorNick Parker24-Aug-04 4:43 
GeneralRe: Parallel port Pin
Christian Graus24-Aug-04 11:37
protectorChristian Graus24-Aug-04 11:37 
GeneralRe: Parallel port Pin
Nick Parker25-Aug-04 1:34
protectorNick Parker25-Aug-04 1:34 
GeneralRe: Parallel port Pin
Steve Mayfield24-Aug-04 14:47
Steve Mayfield24-Aug-04 14:47 
Generalrunning scripts inside a c# application Pin
johanna4223-Aug-04 8:51
johanna4223-Aug-04 8:51 
GeneralRe: running scripts inside a c# application Pin
johanna4223-Aug-04 8:52
johanna4223-Aug-04 8:52 
GeneralRe: running scripts inside a c# application Pin
Heath Stewart23-Aug-04 9:44
protectorHeath Stewart23-Aug-04 9:44 
GeneralRe: running scripts inside a c# application Pin
johanna4223-Aug-04 11:14
johanna4223-Aug-04 11:14 
GeneralRe: running scripts inside a c# application Pin
Nick Parker23-Aug-04 11:35
protectorNick Parker23-Aug-04 11:35 
GeneralRe: running scripts inside a c# application Pin
johanna4223-Aug-04 11:57
johanna4223-Aug-04 11:57 
GeneralRe: running scripts inside a c# application Pin
mav.northwind23-Aug-04 22:44
mav.northwind23-Aug-04 22:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.