분류 전체보기300 18# C#에서 아마존 S3 다운로드 하는법 예전에 회사에서 무슨 일이 있어서 대규모 파일 비교를 해야 하는 일이 있었는데 오랜만에 Winform으로 작업해서 줘봤음. 쓰고 버릴 코드라 이름이랑 다 대충한게 문제 -.- using System; using System.IO; using System.Threading; using System.Windows.Forms; using Amazon; using Amazon.S3; using Amazon.S3.IO; using Amazon.S3.Model; namespace S3_Download { public partial class Form1 : Form { AmazonS3AllDownLoader downloader = new AmazonS3AllDownLoader(); string folderPath =.. 2019. 4. 3. 17# C# Protobuf-net에서 List<List<T>> 사용법 [ProtoMember(1)] public List UseItemList { get { return useItemList ?? (useItemList = new List()); } set { useItemList = value; } } [ProtoContract] public class ListWrapper { [ProtoMember(1)] public List List{ get; set; } } 2019. 4. 3. 16# C# Protobuf-net에서 Dictionary 사용법 [ProtoMember(1)] public DictionaryWrapper ItemAcquireList { get; set; } [ProtoContract] public class DictionaryWrapper { [ProtoMember(1)] public Dictionary Dictionary { get; set; } } 2019. 4. 3. Windows Server 2012 이벤트 로그 경로 변경 1. 실행창, Windows PowerShell에서 regedit 입력.2. 레지스트 편집기에서 [HKEY_LOCAL_MACHINE] > [SYSTEM] > [CurrentControlSet] > [Services] > [EventLog] > [System] 이동3. 오른쪽에 나오는 File에서 경로 수정. 2019. 3. 27. 이전 1 ··· 50 51 52 53 54 55 56 ··· 75 다음