FileStream 비동기 입출력
using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Threading; namespace ConsoleApplication2 { class Program { static FileStream asyncfs = new FileStream("ASyncTest.txt", FileMode.Open, FileAccess.Read, FileShare.None, 255, true); static AsyncCallback callback = new AsyncCallback(CallBackFunction); static byte[] readBuf = new byte[asyncfs.Length]; sta..
C#
2018. 6. 29. 15:38