프로젝트

일반

사용자정보

개정판 77cdac33

ID77cdac33b7bca4641193c97216f85dde1a21cb5e
상위 74abcf6f
하위 a7bee7cf

김태성이(가) 약 3년 전에 추가함

벽산 수정 후 백업

Change-Id: I8e3eb48f615478a49efa0ab4014a8ef17d273d0a

차이점 보기:

KCOM/PageManager/PageStorage.cs
43 43
                _TotalPages = totalPages;
44 44
                _TakeCount = takeCount;
45 45

  
46
                System.IO.Directory.CreateDirectory(LocalStorage);
46
                System.IO.DirectoryInfo info = System.IO.Directory.CreateDirectory(LocalStorage);
47 47

  
48 48
                //backgroundWorker.RunWorkerAsync(new int[] { 1, 10 });
49 49
            }
......
255 255
                else
256 256
                {
257 257

  
258
                    if (!System.IO.Directory.Exists(LocalStorage))
259
                    {
260
                        System.IO.Directory.CreateDirectory(LocalStorage);
261
                        System.Threading.Thread.Sleep(100);
262
                    }
263

  
258 264
                    System.Diagnostics.Debug.WriteLine("DownloadPageAsync down");
259 265

  
260 266
                    string downloadFilePath = System.IO.Path.Combine(LocalStorage, System.IO.Path.GetRandomFileName()); /// PageNo.ToString() + "." + _fileExt);
......
276 282

  
277 283
                    using (System.Net.WebClient client = new System.Net.WebClient())
278 284
                    {
285
                        client.CachePolicy = new System.Net.Cache.RequestCachePolicy(System.Net.Cache.RequestCacheLevel.NoCacheNoStore);
286
                        client.Headers.Add("Cache-Control", "no-cache");
279 287
                        client.UseDefaultCredentials = true;
280 288
                        System.Net.IWebProxy webProxy = client.Proxy;
281 289

  

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)