Exemplo n.º 1
0
 public PriorityFileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options) :
     base(path, mode, access, share, bufferSize, options)
 {
     _priority = ThreadUtility.InBackgorundMode() ? FileIOPriority.Background : FileIOPriority.Default;
 }