From d87843419bac31a892474af646a433f47f0f43ef Mon Sep 17 00:00:00 2001 From: Tsuda Kageyu Date: Mon, 17 Aug 2015 01:46:36 +0900 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index e316714..762ff36 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,13 @@ int iconCount = ie.Count; Icon icon0 = ie.GetIcon(0); Icon icon1 = ie.GetIcon(1); +// Save icons individually. + +using (var fs = File.OpenWrite(@"D:\sample0.ico")) +{ + ie.Save(0, fs); +} + // Extract all the icons in one go. Icon[] allIcons = ie.GetAllIcons();