2011-06-21 6 views

答えて

15

IsolatedStorageFileSystemは、書き込みバイト配列のための方法を持って次のように

public override void Write(byte[] buffer, int offset, int count); 

それは使用することができます:

byte[] myByteArray = ... 
    using (var store = IsolatedStorageFile.GetUserStoreForApplication()) 
    using (var stream = new IsolatedStorageFileStream("filename.txt", 
       FileMode.Create, FileAccess.Write, store)) 
    { 
     stream.Write(myByteArray, 0, myByteArray.Length); 
    } 
+0

私はWindowsでIsolatedStorageFileを使用できるファイルに書き込み用のアプリケーションを形成し、それを読んで後で? – Kiquenet

関連する問題