Chapter 13 - File IO and Isolated Storage

“The namespace allows you to interact with a machine’s file and directory structure. Over the course of this chapter, you will learn how to programmatically create (and destroy) a directory system as well as move data into and out of various streams (file based, string based, memory based, etc.). The latter part of this chapter examines the role of isolated storage, which allows you to persist per-user data into a safe sandbox, regardless of the security settings of a target machine. To understand certain aspects of the API, you will also receive an overview of Code Access Security (CAS). ”. | Chapter 13. File I/O and Isolated Storage Hoang Anh Viet VietHA@ Hanoi University of Technology 3. Data Types 2008 © 2008 Microsoft Objectives “The namespace allows you to interact with a machine’s file and directory structure. Over the course of this chapter, you will learn how to programmatically create (and destroy) a directory system as well as move data into and out of various streams (file based, string based, memory based, etc.). The latter part of this chapter examines the role of isolated storage, which allows you to persist per-user data into a safe sandbox, regardless of the security settings of a target machine. To understand certain aspects of the API, you will also receive an overview of Code Access Security (CAS). ” 3. Data Types 2008 © 2008 Microsoft Roadmap 1. Exploring the namespace 2. Working with File System 3. The Abstract System Class 4. Working with StreamWriters and StreamReaders 5. . | Chapter 13. File I/O and Isolated Storage Hoang Anh Viet VietHA@ Hanoi University of Technology 3. Data Types 2008 © 2008 Microsoft Objectives “The namespace allows you to interact with a machine’s file and directory structure. Over the course of this chapter, you will learn how to programmatically create (and destroy) a directory system as well as move data into and out of various streams (file based, string based, memory based, etc.). The latter part of this chapter examines the role of isolated storage, which allows you to persist per-user data into a safe sandbox, regardless of the security settings of a target machine. To understand certain aspects of the API, you will also receive an overview of Code Access Security (CAS). ” 3. Data Types 2008 © 2008 Microsoft Roadmap 1. Exploring the namespace 2. Working with File System 3. The Abstract System Class 4. Working with StreamWriters and StreamReaders 5. Working with StringWriters and StringReaders 6. Working with BinaryWriters and BinaryReaders 7. Programmatically “Watching” Files 8. Performing Asynchronous File I/O 9. An Overview of Isolated Storage 10. Introducing Object Serialization Exploring the namespace namespace is the region of the base class libraries devoted to file-based (and memory-based) input and output (I/O) services defines a set of classes, interfaces, enumerations, structures, and delegates, most of which are contained in Nonabstract I/O Class Type Description BinaryReader, BinaryWriter These types allow you to store and retrieve primitive data types (integers, Booleans, strings, and whatnot) as a binary value. BufferedStream This type provides temporary storage for a stream of bytes that may be committed to storage at a later time Directory, DirectoryInfo These types are used to manipulate a machine’s directory structure. The Directory type exposes .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
2    77    2    26-06-2024
5    298    1    26-06-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.