¡@

Home 

c# Programming Glossary: drives

Why is ushort + ushort equal to int?

http://stackoverflow.com/questions/10065287/why-is-ushort-ushort-equal-to-int

table. Now there's a new problem however a problem that drives C# programmers pretty nutty. The result of the addition is of..

How to programmatically discover mapped network drives on system and their server names?

http://stackoverflow.com/questions/1088752/how-to-programmatically-discover-mapped-network-drives-on-system-and-their-serve

to programmatically discover mapped network drives on system and their server names I'm trying to find out how.. used net use w to map it . I know how to get the network drives on the system DriveInfo allDrives DriveInfo.GetDrives foreach..

Most efficient way to find all exe files on disk using C#?

http://stackoverflow.com/questions/10965280/most-efficient-way-to-find-all-exe-files-on-disk-using-c

to use a slower method that caused memory issues on large drives @hatchet showed a great example Is there a faster way to scan..

WIN32_Processor::Is ProcessorId Unique for all computers

http://stackoverflow.com/questions/1101772/win32-processoris-processorid-unique-for-all-computers

c# Find a file within all possible folders?

http://stackoverflow.com/questions/1225294/c-sharp-find-a-file-within-all-possible-folders

This code fragment retrieves a list of all logical drives on the machine and then searches all folders on the drive for.. string @Stan R. suggested an improvement to handle floppy drives... foreach DriveInfo d in DriveInfo.GetDrives foreach DriveInfo..

Physical disk size not correct (IoCtlDiskGetDriveGeometry)

http://stackoverflow.com/questions/15051660/physical-disk-size-not-correct-ioctldiskgetdrivegeometry

the actual correct physical disk size Tested on USB drives and normal hard drives. The code is long here separate it in.. physical disk size Tested on USB drives and normal hard drives. The code is long here separate it in parts to show. The structure..

Dot Matrix printing in C#?

http://stackoverflow.com/questions/246233/dot-matrix-printing-in-c

where the page is rasterized and the printer driver just drives the print head and pins to output the dots. The first usage..

Can I disable window autoplay function programatically with C#/.NET?

http://stackoverflow.com/questions/2732792/can-i-disable-window-autoplay-function-programatically-with-c-net

specified drive letters NoDriveAutoRun or for a class of drives NoDriveTypeAutoRun Using the Registry to Disable AutoRun MSDN..

Cannot access files on drive mapped network share from a Windows service

http://stackoverflow.com/questions/3098486/cannot-access-files-on-drive-mapped-network-share-from-a-windows-service

improve this question Sorry you can't access mapped drives from Windows services . As Sheng suggested you can use a UI..

Need a way to sort a 100 GB log file by date [closed]

http://stackoverflow.com/questions/3795029/need-a-way-to-sort-a-100-gb-log-file-by-date

too large Wraawr I thought I would just add as many hard drives as possible to speed this process up. Apparently adding a USB..

How do I retrieve disk information in C#?

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

in C# I would like to access information on the logical drives on my computer using C#. How should I accomplish this Thanks.. System.IO class Info public static void Main DriveInfo drives DriveInfo.GetDrives foreach DriveInfo drive in drives There.. drives DriveInfo.GetDrives foreach DriveInfo drive in drives There are more attributes you can use. Check the MSDN link..

.NET assembly runs in partial trust on a network drive, but all other in full trust

http://stackoverflow.com/questions/4827670/net-assembly-runs-in-partial-trust-on-a-network-drive-but-all-other-in-full-tr

access security CAS and it forces all untrusted network drives to be treated as untrusted network code. Local code has full..

How to detect a USB drive has been plugged in?

http://stackoverflow.com/questions/6003822/how-to-detect-a-usb-drive-has-been-plugged-in

however it doesn't guaranty that it is an USB device var drives DriveInfo.GetDrives .Where drive drive.IsReady drive.DriveType..

GetDriveType in C#? or find out if my drive is removable?

http://stackoverflow.com/questions/623254/getdrivetype-in-c-or-find-out-if-my-drive-is-removable

I am using Environment.GetLogicalDrives to get a list of drives. I remember in c i could use GetDriveType to find if the device..

C# classes to undelete files? [duplicate]

http://stackoverflow.com/questions/8819188/c-sharp-classes-to-undelete-files

the recycle bin but still understandable and formatted drives. I decided on c# as language but I have trouble finding classes..