{"id":689,"date":"2014-06-21T02:46:31","date_gmt":"2014-06-21T02:46:31","guid":{"rendered":"http:\/\/dev.anyons.net\/?p=689"},"modified":"2022-07-12T14:48:22","modified_gmt":"2022-07-12T05:48:22","slug":"windows-event-log","status":"publish","type":"post","link":"https:\/\/anyons.net\/?p=689","title":{"rendered":"windows event log"},"content":{"rendered":"<p>\ucd9c\ucc98 <a href=\"http:\/\/mainia.tistory.com\/412\">http:\/\/mainia.tistory.com\/412<\/a><\/p>\n<p>\uc774\ubca4\ud2b8\ub85c\uadf8 \uc4f0\uae30<\/p>\n<pre class=\"lang:c# decode:true\">static void Main(string[] args) {\n  WriteEventLogEntry(\"This is an entry in the event log by daveoncsharp.com\");\n}\n\nprivate static void WriteEventLogEntry(string message) {\n  \/\/ Create an instance of EventLog\n  System.Diagnostics.EventLog eventLog = new System.Diagnostics.EventLog();\n\n  \/\/ Check if the event source exists. If not create it.\n  if (!System.Diagnostics.EventLog.SourceExists(\"TestApplication\")) {\n    \/\/ \"Application\" \uc774\ub984\uc774 \ub85c\uadf8 \ud2b8\ub9ac\uc5d0 \ub098\uc624\ubbc0\ub85c \uc798 \uc815\uc758\ud574\uc57c \ud55c\ub2e4.\n    System.Diagnostics.EventLog.CreateEventSource(\"TestApplication\", \"Application\");\n  }\n\n  \/\/ Set the source name for writing log entries.\n  eventLog.Source = \"TestApplication\";\n\n  \/\/ Create an event ID to add to the event log\n  int eventID = 8;\n\n  \/\/ Write an entry to the event log.\n  eventLog.WriteEntry(message,\n    System.Diagnostics.EventLogEntryType.Error,\n    eventID);\n\n  \/\/ Close the Event Log\n  eventLog.Close();\n}<\/pre>\n<p>\uc774\ubca4\ud2b8 \ub85c\uadf8 \ubcf4\uae30<\/p>\n<pre class=\"lang:c# decode:true \">static void Main(string[] args) {\n  String machine = \".\"; \/\/ local machine\n  Console.WriteLine(\"-------------------------------------------------------------n\");\n  if (args.Length == 1) {\n    if (args[0] == \"application\" || args[0] == \"system\" || args[0] == \"security\") {\n      String log = args[0];\n      EventLog aLog = new EventLog(log, machine);\n      EventLogEntry entry;\n      EventLogEntryCollection entries = aLog.Entries;\n      Stack &lt; EventLogEntry &gt; stack = new Stack &lt; EventLogEntry &gt; ();\n      for (int i = 0; i &lt; entries.Count; i++) {\n        entry = entries[i];\n        stack.Push(entry);\n      }\n      entry = stack.Pop(); \/\/ only display the last record\n      Console.WriteLine(\"[Index]t\" + entry.Index +\n        \"n[EventID]t\" + entry.InstanceId +\n        \"n[TimeWritten]t\" + entry.TimeWritten +\n        \"n[MachineName]t\" + entry.MachineName +\n        \"n[Source]t\" + entry.Source +\n        \"n[UserName]t\" + entry.UserName +\n        \"n[Message]t\" + entry.Message +\n        \"n---------------------------------------------------n\");\n    } else {\n      Console.WriteLine(\"Usage:glog.exe system(application,security)n\");\n    }\n  } else {\n    Console.WriteLine(\"Usage:glog.exe system(application,security)n\");\n  }\n  Console.WriteLine(\"end\");\n  Console.ReadLine();\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\ucd9c\ucc98 http:\/\/mainia.tistory.com\/412<\/p>\n<p>\uc774\ubca4\ud2b8\ub85c\uadf8 \uc4f0\uae30<\/p>\n<p> static void Main(string[] args) { WriteEventLogEntry(&#8220;This is an entry in the event log by daveoncsharp.com&#8221;); } private static void WriteEventLogEntry(string message) { \/\/ Create an instance of EventLog System.Diagnostics.EventLog eventLog = new System.Diagnostics.EventLog(); \/\/ Check if the event source exists. If not create it. if (!System.Diagnostics.EventLog.SourceExists(&#8220;TestApplication&#8221;)) { \/\/ &#8220;Application&#8221; \uc774\ub984\uc774 \ub85c\uadf8 [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[96],"tags":[31,175,65],"class_list":["post-689","post","type-post","status-publish","format-standard","hentry","category-programming","tag-csharp","tag-event-log","tag-windows","odd"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>windows event log - anydragon<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/anyons.net\/?p=689\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"windows event log - anydragon\" \/>\n<meta property=\"og:description\" content=\"\ucd9c\ucc98 http:\/\/mainia.tistory.com\/412 \uc774\ubca4\ud2b8\ub85c\uadf8 \uc4f0\uae30 static void Main(string[] args) { WriteEventLogEntry(&quot;This is an entry in the event log by daveoncsharp.com&quot;); } private static void WriteEventLogEntry(string message) { \/\/ Create an instance of EventLog System.Diagnostics.EventLog eventLog = new System.Diagnostics.EventLog(); \/\/ Check if the event source exists. If not create it. if (!System.Diagnostics.EventLog.SourceExists(&quot;TestApplication&quot;)) { \/\/ &quot;Application&quot; \uc774\ub984\uc774 \ub85c\uadf8 [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/anyons.net\/?p=689\" \/>\n<meta property=\"og:site_name\" content=\"anydragon\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/anydragon\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/anydragon\" \/>\n<meta property=\"article:published_time\" content=\"2014-06-21T02:46:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-12T05:48:22+00:00\" \/>\n<meta name=\"author\" content=\"anydragon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@anydragon\" \/>\n<meta name=\"twitter:site\" content=\"@anydragon\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"anydragon\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/anyons.net\\\/?p=689#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/anyons.net\\\/?p=689\"},\"author\":{\"name\":\"anydragon\",\"@id\":\"https:\\\/\\\/anyons.net\\\/#\\\/schema\\\/person\\\/e848d5666536ff82e9ee531c70249f2b\"},\"headline\":\"windows event log\",\"datePublished\":\"2014-06-21T02:46:31+00:00\",\"dateModified\":\"2022-07-12T05:48:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/anyons.net\\\/?p=689\"},\"wordCount\":7,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/anyons.net\\\/#\\\/schema\\\/person\\\/e848d5666536ff82e9ee531c70249f2b\"},\"keywords\":[\"csharp\",\"event log\",\"windows\"],\"articleSection\":[\"Programming\"],\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/anyons.net\\\/?p=689#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/anyons.net\\\/?p=689\",\"url\":\"https:\\\/\\\/anyons.net\\\/?p=689\",\"name\":\"windows event log - anydragon\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/anyons.net\\\/#website\"},\"datePublished\":\"2014-06-21T02:46:31+00:00\",\"dateModified\":\"2022-07-12T05:48:22+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/anyons.net\\\/?p=689#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/anyons.net\\\/?p=689\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/anyons.net\\\/?p=689#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/anyons.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"windows event log\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/anyons.net\\\/#website\",\"url\":\"https:\\\/\\\/anyons.net\\\/\",\"name\":\"anydragon\",\"description\":\"mac, linux, aws, c, c++, mysql, mssql, redis, csharp, nodejs, rust, golang\",\"publisher\":{\"@id\":\"https:\\\/\\\/anyons.net\\\/#\\\/schema\\\/person\\\/e848d5666536ff82e9ee531c70249f2b\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/anyons.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/anyons.net\\\/#\\\/schema\\\/person\\\/e848d5666536ff82e9ee531c70249f2b\",\"name\":\"anydragon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"http:\\\/\\\/anyons.net\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/bg3-scaled.jpeg\",\"url\":\"http:\\\/\\\/anyons.net\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/bg3-scaled.jpeg\",\"contentUrl\":\"http:\\\/\\\/anyons.net\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/bg3-scaled.jpeg\",\"width\":2560,\"height\":1440,\"caption\":\"anydragon\"},\"logo\":{\"@id\":\"http:\\\/\\\/anyons.net\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/bg3-scaled.jpeg\"},\"sameAs\":[\"http:\\\/\\\/anyons.net\",\"https:\\\/\\\/www.facebook.com\\\/anydragon\",\"https:\\\/\\\/x.com\\\/anydragon\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCr78KWpvmk398vPfpUTWNLg\"],\"url\":\"https:\\\/\\\/anyons.net\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"windows event log - anydragon","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/anyons.net\/?p=689","og_locale":"ko_KR","og_type":"article","og_title":"windows event log - anydragon","og_description":"\ucd9c\ucc98 http:\/\/mainia.tistory.com\/412 \uc774\ubca4\ud2b8\ub85c\uadf8 \uc4f0\uae30 static void Main(string[] args) { WriteEventLogEntry(\"This is an entry in the event log by daveoncsharp.com\"); } private static void WriteEventLogEntry(string message) { \/\/ Create an instance of EventLog System.Diagnostics.EventLog eventLog = new System.Diagnostics.EventLog(); \/\/ Check if the event source exists. If not create it. if (!System.Diagnostics.EventLog.SourceExists(\"TestApplication\")) { \/\/ \"Application\" \uc774\ub984\uc774 \ub85c\uadf8 [...]","og_url":"https:\/\/anyons.net\/?p=689","og_site_name":"anydragon","article_publisher":"https:\/\/www.facebook.com\/anydragon","article_author":"https:\/\/www.facebook.com\/anydragon","article_published_time":"2014-06-21T02:46:31+00:00","article_modified_time":"2022-07-12T05:48:22+00:00","author":"anydragon","twitter_card":"summary_large_image","twitter_creator":"@anydragon","twitter_site":"@anydragon","twitter_misc":{"\uae00\uc4f4\uc774":"anydragon","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/anyons.net\/?p=689#article","isPartOf":{"@id":"https:\/\/anyons.net\/?p=689"},"author":{"name":"anydragon","@id":"https:\/\/anyons.net\/#\/schema\/person\/e848d5666536ff82e9ee531c70249f2b"},"headline":"windows event log","datePublished":"2014-06-21T02:46:31+00:00","dateModified":"2022-07-12T05:48:22+00:00","mainEntityOfPage":{"@id":"https:\/\/anyons.net\/?p=689"},"wordCount":7,"commentCount":0,"publisher":{"@id":"https:\/\/anyons.net\/#\/schema\/person\/e848d5666536ff82e9ee531c70249f2b"},"keywords":["csharp","event log","windows"],"articleSection":["Programming"],"inLanguage":"ko-KR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/anyons.net\/?p=689#respond"]}]},{"@type":"WebPage","@id":"https:\/\/anyons.net\/?p=689","url":"https:\/\/anyons.net\/?p=689","name":"windows event log - anydragon","isPartOf":{"@id":"https:\/\/anyons.net\/#website"},"datePublished":"2014-06-21T02:46:31+00:00","dateModified":"2022-07-12T05:48:22+00:00","breadcrumb":{"@id":"https:\/\/anyons.net\/?p=689#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/anyons.net\/?p=689"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/anyons.net\/?p=689#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/anyons.net\/"},{"@type":"ListItem","position":2,"name":"windows event log"}]},{"@type":"WebSite","@id":"https:\/\/anyons.net\/#website","url":"https:\/\/anyons.net\/","name":"anydragon","description":"mac, linux, aws, c, c++, mysql, mssql, redis, csharp, nodejs, rust, golang","publisher":{"@id":"https:\/\/anyons.net\/#\/schema\/person\/e848d5666536ff82e9ee531c70249f2b"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/anyons.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":["Person","Organization"],"@id":"https:\/\/anyons.net\/#\/schema\/person\/e848d5666536ff82e9ee531c70249f2b","name":"anydragon","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"http:\/\/anyons.net\/wp-content\/uploads\/2022\/06\/bg3-scaled.jpeg","url":"http:\/\/anyons.net\/wp-content\/uploads\/2022\/06\/bg3-scaled.jpeg","contentUrl":"http:\/\/anyons.net\/wp-content\/uploads\/2022\/06\/bg3-scaled.jpeg","width":2560,"height":1440,"caption":"anydragon"},"logo":{"@id":"http:\/\/anyons.net\/wp-content\/uploads\/2022\/06\/bg3-scaled.jpeg"},"sameAs":["http:\/\/anyons.net","https:\/\/www.facebook.com\/anydragon","https:\/\/x.com\/anydragon","https:\/\/www.youtube.com\/channel\/UCr78KWpvmk398vPfpUTWNLg"],"url":"https:\/\/anyons.net\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":523,"url":"https:\/\/anyons.net\/?p=523","url_meta":{"origin":689,"position":0},"title":"Windows \uc6a9 Hard Link Junction","author":"anydragon","date":"2013\ub144 02\uc6d4 14\uc77c","format":"standard","excerpt":"\ub09c \ub0b4\uac00 \ub9cc\ub4dc\ub294 \ud504\ub85c\uadf8\ub7a8\uc5d0 log\ub97c d:\\_Logs\uc5d0 \ub123\ub294\ub2e4 \uc708\ub3c4\uc6b0\uc988 \uc870\uac01\ud654\ub97c \uc0dd\uac01\ud574\uc11c \uc808\ub300 c:\\\uc5d0\ub294 \ub123\uc9c0 \uc54a\uc73c\ub824 \ud55c\ub2e4..\uadfc\ub370 \uc774\ubc88\uc5d0 ubuntu\uc5d0\uc11c mono\ub97c \ud1b5\ud574 \ud1b5\ud569\ud558\ub294 \uc791\uc5c5\uc744 \ud558\ub2e4\ubcf4\ub2c8 \uc6b0\ubd84\ud22c\uc5d0\uc11c log \ub4e4\uc774 \uc774\uc0c1\ud55c\ub370 \uc313\uc778\ub2e4.-_-\uc774\ub9ac\uc800\ub9ac \uace0\ubbfc\uc744 \ud558\ub2e4\uac00 Windows\uc5d0 c:_Logs \ub77c\ub294 \ub9c1\ud06c\ub97c \ub9cc\ub4e4\ub824\uace0 \ubc14\ub85c\uac00\uae30\ub97c \ub9cc\ub4e4\uc5c8\ub354\ub2c8 c:_Logs\ub77c\ub294 \ub514\ub809\ud1a0\ub9ac\uc640\ub294 \uc131\uaca9\uc774 \ub2ec\ub790\ub2e4.\uc608\uc804\uc5d0 hard link\ub97c \ud588\ub358 \uae30\uc5b5\uc774 \uc788\uc5b4 Junction\uc744 \uc62c\ub9b0\ub2e4. \ucc38\uace0] http:\/\/msdn.microsoft.com\/ko-kr\/library\/windows\/desktop\/aa365006(v=vs.85).aspx junction\u2026","rel":"","context":"&quot;Command&quot;\uc5d0\uc11c","block_context":{"text":"Command","link":"https:\/\/anyons.net\/?cat=93"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":270,"url":"https:\/\/anyons.net\/?p=270","url_meta":{"origin":689,"position":1},"title":"SQL Injection \ubc29\uc5b4","author":"anydragon","date":"2012\ub144 02\uc6d4 20\uc77c","format":false,"excerpt":"\ucd9c\ucc98 : http:\/\/forums.asp.net\/t\/1254125.aspx \ub97c \ubcf4\uba74 ASP.NET 1.1\uc774\ub0d0 2.0 \uc774\ub0d0\uc5d0 \ub530\ub77c \uac01\uac01 \uc774\ub807\uac8c \ud558\ub77c\uace0 \ud55c\ub2e4. \uc544\uc9c1\uc740 \ub09c web.config\uac00 \uc775\uc219\uce58 \uc54a\uc544\uc11c \uadf8\ub7f0\uc9c0 1.1 \ubc29\uc2dd\uc73c\ub85c \ud558\uba74 \uc798 \ub418\ub294\ub370 2.0 \ubc29\uc2dd\uc73c\ub85c\ub294 \uc798 \uc548\ub41c\ub2e4. -_- ASP.NET 1.1 C# global.asax using System.Globalization; \/\/Defines the set of characters that will be checked. \/\/You can add to this\u2026","rel":"","context":"&quot;Programming&quot;\uc5d0\uc11c","block_context":{"text":"Programming","link":"https:\/\/anyons.net\/?cat=96"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2440,"url":"https:\/\/anyons.net\/?p=2440","url_meta":{"origin":689,"position":2},"title":"\ud504\ub85c\uadf8\ub7a8 \uc2e4\ud589\uc2dc \ub85c\uadf8\ub97c \ub0a0\uc9dc\ubcc4\ub85c \uc790\uc7a5\ud558\uba74\uc11c \ucf58\uc194\uc0c1\uc5d0 \ucd9c\ub825","author":"anydragon","date":"2021\ub144 07\uc6d4 21\uc77c","format":false,"excerpt":"command 2>&1 | tee \".\/result\/$(date +%Y%m%d_%H%M%S).log\u201d \u00a0","rel":"","context":"&quot;Command&quot;\uc5d0\uc11c","block_context":{"text":"Command","link":"https:\/\/anyons.net\/?cat=93"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":852,"url":"https:\/\/anyons.net\/?p=852","url_meta":{"origin":689,"position":3},"title":"SVN log \uba85\ub839\uc5b4","author":"anydragon","date":"2015\ub144 03\uc6d4 24\uc77c","format":false,"excerpt":"\ud2b9\uc815 \ub0a0\uc9dc\ubd80\ud130 \ud2b9\uc815 \ub0a0\uc9dc\uae4c\uc9c0 \ubcc0\uacbd\ub41c \ud30c\uc77c\uc758 \ubaa9\ub85d\uc744 \uac00\uc838\uc624\ub294 \uba85\ub839\uc5b4 svn diff {path} --summarize -r {2014-11-01}:{2014-11-12} \ud2b9\uc815 \ub9ac\ube44\uc804\ubd80\ud130 \ud2b9\uc815 \ub9ac\ube44\uc804\uae4c\uc9c0 \ub85c\uadf8 \ubaa9\ub85d\uc744 \uac00\uc838\uc624\ub294 \uba85\ub839\uc5b4 svn log . -g -r {2014-11-01}:{2014-11-12}","rel":"","context":"&quot;Command&quot;\uc5d0\uc11c","block_context":{"text":"Command","link":"https:\/\/anyons.net\/?cat=93"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1123,"url":"https:\/\/anyons.net\/?p=1123","url_meta":{"origin":689,"position":4},"title":"\ud504\ub85c\uc81d\ud2b8 \uc9c4\ud589","author":"anydragon","date":"2015\ub144 04\uc6d4 09\uc77c","format":false,"excerpt":"\uacf5\ud1b5\uc791\uc5c5 \uc640\uc774\uc5b4 \ud504\ub808\uc784\uacfc \uc2a4\ud1a0\ub9ac\ubcf4\ub4dc\uc5d0\uc11c \ub108\ubb34 \uc815\uad50\ud558\uac8c \uad6c\ud604\ud558\uba74 \uac70\uae30\uc5d0 \ube60\uc9c8\uc218 \uc788\ub2e4. \ud2b9\ud788 \uc694\uc998 \ub098\uc624\ub294 \uc640\uc774\uc5b4\ud504\ub808\uc784\ud234\uc774\ub098 \uc2a4\ud1a0\ub9ac \ubcf4\ub4dc \ud234\ub4e4\uc774 \uac00\ub2a5\ud558\uba74 \uc815\uad50\ud55c \ucef4\ud3ec\ub10c\ud2b8\ub97c \uc81c\uacf5\ud558\uae30\ub294 \ud558\uc9c0\ub9cc \uadf8 \uc815\uad50\ud568\uc73c\ub85c \uc778\ud574 \uc624\ud788\ub824 \uc791\uc5c5\uc5d0 \ubc29\ud574\uac00 \ub9ce\uc774 \ub41c\ub2e4. \uc815\uad50\ud574\uc57c \ud558\ub294 \ubd80\ubd84\uacfc \uc815\uad50\ud558\uc9c0 \ub9d0\uc544\uc57c \ud558\ub294 \ubd80\ubd84\uc744 \uba85\ud655\ud558\uac8c \uad6c\ubd84\ud558\ub294 \uac83\uc740 \ubc18\ub4dc\uc2dc \ud544\uc694\ud558\ub2e4. \u00a0\uad6c\uc131\uc694\uc18c change log - \uac1c\uc815 \uc774\ub825 (version history,\u2026","rel":"","context":"&quot;Concept&quot;\uc5d0\uc11c","block_context":{"text":"Concept","link":"https:\/\/anyons.net\/?cat=95"},"img":{"alt_text":"page2","src":"https:\/\/i0.wp.com\/anyons.net\/wp-content\/uploads\/2015\/04\/page2.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/anyons.net\/wp-content\/uploads\/2015\/04\/page2.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/anyons.net\/wp-content\/uploads\/2015\/04\/page2.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/anyons.net\/wp-content\/uploads\/2015\/04\/page2.jpg?resize=700%2C400 2x"},"classes":[]},{"id":2548,"url":"https:\/\/anyons.net\/?p=2548","url_meta":{"origin":689,"position":5},"title":"csharp enum \uc744 \uc0ac\uc6a9\ud558\ub294 \ucf54\ub4dc \uc0d8\ud50c","author":"anydragon","date":"2022\ub144 05\uc6d4 23\uc77c","format":false,"excerpt":"\ucd9c\ucc98 : https:\/\/qiita.com\/mkuwan\/items\/be6745f2c9e7823f8a66 public static class TypeExtention { \/\/\/ <summary> \/\/\/ enum\u306e\u5024\u30ea\u30b9\u30c8\u3092\u53d6\u5f97 \/\/\/ <\/summary> \/\/\/ <typeparam name=\"T\"><\/typeparam> \/\/\/ <returns><\/returns> public static List<T> GetEnumList<T>(this Type type) where T : Enum { return Enum.GetValues(typeof(T)).Cast<T>().ToList(); } \/\/\/ <summary> \/\/\/ enum\u306eDescripntion\u30ea\u30b9\u30c8\u3092\u53d6\u5f97 \/\/\/ <\/summary> \/\/\/ <typeparam name=\"T\"><\/typeparam> \/\/\/ <returns><\/returns> public static IEnumerable<string> GetEnumDescriptionEnumerable<T>(this Type type)\u2026","rel":"","context":"&quot;Programming&quot;\uc5d0\uc11c","block_context":{"text":"Programming","link":"https:\/\/anyons.net\/?cat=96"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/anyons.net\/index.php?rest_route=\/wp\/v2\/posts\/689","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anyons.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anyons.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anyons.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/anyons.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=689"}],"version-history":[{"count":0,"href":"https:\/\/anyons.net\/index.php?rest_route=\/wp\/v2\/posts\/689\/revisions"}],"wp:attachment":[{"href":"https:\/\/anyons.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=689"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anyons.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=689"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anyons.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=689"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}