15.02.2015 Views

C# 4 and .NET 4

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SonTenTs<br />

Exporting Metadata 760<br />

mports 762<br />

Lazy Loading of Parts 764<br />

Containers <strong>and</strong> export Providers 765<br />

Catalogs 767<br />

ummary 769<br />

ChaPTer 29: maniPulaTing files <strong>and</strong> The regisTry 771<br />

Managing the file system 771<br />

.<strong>NET</strong> Classes That Represent Files <strong>and</strong> Folders 772<br />

The Path Class 775<br />

A FileProperties Sample 775<br />

Moving, Copying, <strong>and</strong> Deleting files 780<br />

FilePropertiesAndMovement Sample 780<br />

Looking at the Code for FilePropertiesAndMovement 781<br />

eading <strong>and</strong> Writing to files 784<br />

Reading a File 784<br />

Writing to a File 786<br />

Streams 787<br />

Buffered Streams 788<br />

Reading <strong>and</strong> Writing to Binary Files Using FileStream 789<br />

Reading <strong>and</strong> Writing to Text Files 793<br />

Mapped Memory files 799<br />

eading Drive information 800<br />

ile security 802<br />

Reading ACLs from a File 802<br />

Reading ACLs from a Directory 803<br />

Adding <strong>and</strong> Removing ACLs from a File 805<br />

eading <strong>and</strong> Writing to the registry 806<br />

The Registry 806<br />

The .<strong>NET</strong> Registry Classes 808<br />

eading <strong>and</strong> Writing to isolated storage 810<br />

ummary 814<br />

ParT iV: daTa<br />

ChaPTer 30: Core ado.neT 817<br />

Do.neT overview 817<br />

Namespaces 818<br />

Shared Classes 818<br />

www.it-ebooks.info<br />

XXXi

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!