¡@

Home 

c# Programming Glossary: disk

UnauthorizedAccessException cannot resolve Directory.GetFiles failure

http://stackoverflow.com/questions/1393178/unauthorizedaccessexception-cannot-resolve-directory-getfiles-failure

access rights defined. In my example I'm searching on a disk across a network and when I come across a root access only folder..

Bit fields in C#

http://stackoverflow.com/questions/14464/bit-fields-in-c-sharp

I have a structure which I need to populate and write to disk several actually . An example is byte 6 bit0 original_or_copy..

When to use thread pool in C#?

http://stackoverflow.com/questions/145304/when-to-use-thread-pool-in-c

such as downloading stuff from remote servers or disk access but need to do this say once every few minutes then make..

FileSystemWatcher Changed event is raised twice

http://stackoverflow.com/questions/1764809/filesystemwatcher-changed-event-is-raised-twice

actions during the writing process. Notepad writes to the disk in batches that create the content of the file and then the..

how can you easily check if access is denied for a file in .NET?

http://stackoverflow.com/questions/265953/how-can-you-easily-check-if-access-is-denied-for-a-file-in-net

this are known to be slow it's important to remember that disk i o is even slower... a lot slower... and calling the .Exists..

What do 'statically linked' and 'dynamically linked' mean?

http://stackoverflow.com/questions/311882/what-do-statically-linked-and-dynamically-linked-mean

into the in memory copy of the executable not the one on disk. It's basically a method of deferred linking. There's an even.. an executable can change just by replacing the file on the disk. This allows updates to functionality without having to re link..

Get Size of file on disk

http://stackoverflow.com/questions/3750590/get-size-of-file-on-disk

Size of file on disk var length new System.IO.FileInfo path .Length This gives the.. gives the logical size of the file not the size on the disk. I wish to get the size of a file on the disk in C# preferably.. size on the disk. I wish to get the size of a file on the disk in C# preferably without interop as would be reported by Windows..

How do I save a stream to a file?

http://stackoverflow.com/questions/411592/how-do-i-save-a-stream-to-a-file

with a stream now I want to save this stream to disk the stream may be a .gif or .jpg or .pdf . Existing Code StreamReader.. myOtherObject.InputStream I need to save this to disk I have the filename . In the future I may want to store this.. keep the binary data as binary data and write it back to disk or SQL as binary data EDIT As this seems to be something people..

How do I retrieve disk information in C#?

http://stackoverflow.com/questions/412632/how-do-i-retrieve-disk-information-in-c

do I retrieve disk information in C# I would like to access information on the.. computer using C#. How should I accomplish this Thanks c# disk share improve this question For most information you can..

How to embed a text file in a .NET assembly?

http://stackoverflow.com/questions/433171/how-to-embed-a-text-file-in-a-net-assembly

so that I can load the text without having to read it from disk and so that everything I need is contained within the exe. So..

Get File Icon used by Shell

http://stackoverflow.com/questions/462270/get-file-icon-used-by-shell

filePath If TheIcon IsNot Nothing Then ''#Save it to disk or do whatever you want with it. Using stream As New System.IO.FileStream..

Dynamic enum in C#

http://stackoverflow.com/questions/725043/dynamic-enum-in-c-sharp

domain and allow it to be executed and saved to disk. AssemblyName name new AssemblyName MyEnums AssemblyBuilder..

Convert a bitmap into a byte array in C#?

http://stackoverflow.com/questions/7350679/convert-a-bitmap-into-a-byte-array-in-c

are doing except the file is saved to memory instead of to disk. Although more code you have the option of ImageFormat and it.. and it can be easily modified between saving to memory or disk. Source http www.vcskicks.com image to byte.php share improve..

Looking for a simple standalone persistent dictionary implementation in C#

http://stackoverflow.com/questions/100235/looking-for-a-simple-standalone-persistent-dictionary-implementation-in-c-sharp

Questions Persistent Binary Tree Hash table in .Net Disk backed dictionary cache for c# PersistentDictionary Key Value..

How to get the list of removable disk in c#?

http://stackoverflow.com/questions/1124463/how-to-get-the-list-of-removable-disk-in-c

DialogResult.OK if CheckFilePathIsOfRemovableDisk saveFileDialog.FileName true carry on with save else MessageBox.Show.. on with save else MessageBox.Show Must save to Removable Disk location was not valid OR The best option would be to create..

Get current CPU, RAM and Disk drive usage in C#

http://stackoverflow.com/questions/1253154/get-current-cpu-ram-and-disk-drive-usage-in-c-sharp

current CPU RAM and Disk drive usage in C# How to get the CPU RAM and Disk drive usage.. RAM and Disk drive usage in C# How to get the CPU RAM and Disk drive usage of the system in C# code c# wpf cpu usage diskspace..

Is IntPtr.Zero equivalent to null?

http://stackoverflow.com/questions/1456861/is-intptr-zero-equivalent-to-null

it could still return right away. See Asynchronous Disk I O . Ahh I love contradicting stories. c# file io asynchronous..

C#: Writing a CookieContainer to Disk and Loading Back In For Use

http://stackoverflow.com/questions/1777203/c-writing-a-cookiecontainer-to-disk-and-loading-back-in-for-use

Writing a CookieContainer to Disk and Loading Back In For Use I have a CookieContainer extracted..

Creating a Huge Dummy File in a Matter of Seconds in C#

http://stackoverflow.com/questions/1881050/creating-a-huge-dummy-file-in-a-matter-of-seconds-in-c-sharp

last_seg this.label2.Text r nDone br.Close where din is Disk Information object well with these two approach it takes something..

What's the fastest way to bulk insert a lot of data in SQL Server (C# client)

http://stackoverflow.com/questions/24200/whats-the-fastest-way-to-bulk-insert-a-lot-of-data-in-sql-server-c-client

the values are pre sorted based on the primary key. The Disk time performance counter spends a lot of time at 100 so it is..

How to detect if Console.In (stdin) has been redirected?

http://stackoverflow.com/questions/3453220/how-to-detect-if-console-in-stdin-has-been-redirected

StdHandle.Stderr P Invoke private enum FileType Unknown Disk Char Pipe private enum StdHandle Stdin 10 Stdout 11 Stderr 12..

Windows Kiosk App

http://stackoverflow.com/questions/3581059/windows-kiosk-app

the way you want them to no matter who uses them. Windows Disk Protection em Help protect the Windows partition which contains.. approval.Windows SteadyState allows you to set Windows Disk Protection to remove all changes upon restart to remove changes.. to not remove changes at all. If you choose to use Windows Disk Protection to remove changes any changes made by shared users..

Access a Remote Directory from C#

http://stackoverflow.com/questions/5433570/access-a-remote-directory-from-c-sharp

ResourceScope.GlobalNetwork ResourceType ResourceType.Disk DisplayType ResourceDisplaytype.Share RemoteName networkName.TrimEnd.. The resource type. summary public enum ResourceType Any 0 Disk 1 Print 2 Reserved 8 summary The resource displaytype. summary..

What are some resources I can use to learn profiling/optimizing?

http://stackoverflow.com/questions/550109/what-are-some-resources-i-can-use-to-learn-profiling-optimizing

but make sure the upgrade will make a difference. Disk reads won't be a lot faster by buying a faster computer. And..

What does | (pipe) mean in c#?

http://stackoverflow.com/questions/5705262/what-does-pipe-mean-in-c

How can I build Entity Framework queries dynamically?

http://stackoverflow.com/questions/5881107/how-can-i-build-entity-framework-queries-dynamically

filtering data. I have two various Log entities they are DiskLog and NetworkLog . These entities both are derived from Log.. some code from my C# app public class Log ... public class DiskLog Log ... public class NetworkLog Log ... public enum LogType.. NetworkLog Log ... public enum LogType NotInitialized 0 Disk Network public List Log GetWithFilter Guid userKey int nSkip..

List All Partitions On Disk

http://stackoverflow.com/questions/6575727/list-all-partitions-on-disk

All Partitions On Disk I'm making a utility in C# for a filesystem that isn't supported.. new ManagementObjectSearcher root CIMV2 SELECT FROM Win32_DiskPartition foreach var queryObj in searcher.Get Console.WriteLine.. searcher.Get Console.WriteLine Console.WriteLine Win32_DiskPartition instance Console.WriteLine Name 0 string queryObj Name..

C# start Windows Service programmatically

http://stackoverflow.com/questions/6667799/c-sharp-start-windows-service-programmatically

service System.InvalidOperationException Service Logical Disk Manager Administrative Service was not found on computer '.'...

How to check if IOException is Not-Enough-Disk-Space-Exception type?

http://stackoverflow.com/questions/9293227/how-to-check-if-ioexception-is-not-enough-disk-space-exception-type

to check if IOException is Not Enough Disk Space Exception type How can I check if IOException is a Not..