Windows code snippets (41/103)
How to get BIOS info
Published: 12. February 2012 | Updated: 12. February 2012Categories: Windows
Tags: C# Windows WMI
How to enumerate desktops using WMI
Published: 12. February 2012 | Updated: 12. February 2012Categories: Windows
Tags: C# Windows WMI
How to enumerate page files
Published: 12. February 2012 | Updated: 12. February 2012Categories: Windows
Tags: C# Windows WMI
How to enumerate patches using WMI
Published: 12. February 2012 | Updated: 12. February 2012Categories: Windows
Tags: C# Windows WMI
How to enumerate windows groups
Published: 12. February 2012 | Updated: 12. February 2012Categories: Windows
Tags: C# Windows WMI
How to enumerate all directories in computer
Published: 12. February 2012 | Updated: 12. February 2012Categories: Directories Windows
Tags: C# File System Win32 Windows WMI
How to enumerate installed audio/video codecs
Published: 12. February 2012 | Updated: 12. February 2012Categories: Windows
Tags: C# Media Win32 Windows WMI
How to enumerate windows threads
Published: 12. February 2012 | Updated: 12. February 2012Categories: Windows
Tags: C# Threading Win32 Windows WMI
How to enumerate system volumes
Published: 8. February 2012 | Updated: 8. February 2012Categories: Windows
Tags: C# Win32 Windows WMI
How to get active window handle and title
Published: 7. February 2012 | Updated: 7. February 2012Categories: Win32 Windows
Tags: C# UI Win32 Windows
How to get installed software info
Published: 7. February 2012 | Updated: 7. February 2012Categories: Windows
Tags: C# Win32 Windows WMI
How to check that event log exists
Published: 1. February 2012 | Updated: 1. February 2012Categories: Debug Windows
Tags: C# Debug Windows
How to request for administrator permissions
Published: 31. January 2012 | Updated: 31. January 2012Categories: Windows
Tags: C# Security Windows
How to open Folder Options window
Published: 31. January 2012 | Updated: 31. January 2012Categories: Win32 Windows
Tags: C# Win32 Windows
How to get computer user account names
Published: 31. January 2012 | Updated: 31. January 2012Categories: Windows
Tags: C# Windows WMI
How to get windows that are in taskbar
Published: 23. November 2011 | Updated: 23. November 2011Categories: Windows
Tags: C# Windows
How to find out whether pc is tablet
Published: 19. November 2011 | Updated: 19. November 2011Categories: Windows WPF
Tags: C# Windows WPF
How to find out whether Windows UI effects are enabled
Published: 19. November 2011 | Updated: 19. November 2011Categories: Windows
Tags: C# UI Windows Winforms WPF
How to find out whether program is running in a remote session
Published: 19. November 2011 | Updated: 19. November 2011Categories: Win32 Windows
Tags: C# Win32 Windows Winforms WPF
How to write message to EventLog
Published: 13. December 2008 | Updated: 10. November 2011Categories: Debug Windows
Tags: C# Debug Windows
How to lock a file
Published: 9. October 2011 | Updated: 31. October 2011Categories: Windows
Tags: C# File System Windows
How to determine 32/64-bit system
Published: 16. January 2009 | Updated: 31. October 2011Categories: Windows
Tags: C# Windows
How to enumerate event log entries
Published: 12. January 2009 | Updated: 27. October 2011Categories: Debug Windows
Tags: C# Debug Windows
How to get operating system info
Published: 5. January 2009 | Updated: 27. October 2011Categories: Windows
Tags: C# Windows
How to set file to ReadOnly state
Published: 9. October 2011 | Updated: 25. October 2011Categories: File system Windows
Tags: C# File System Windows
How to get system colors
Published: 24. October 2011 | Updated: 24. October 2011Categories: Windows
Tags: C# Colors Windows Winforms WPF
How to get desktop path
Published: 9. October 2011 | Updated: 9. October 2011Categories: Windows
Tags: C# Windows
How to get name of the computer
Published: 9. October 2011 | Updated: 9. October 2011Categories: Windows
Tags: C# Windows
How to detect save mode in Windows
Published: 26. January 2009 | Updated: 26. September 2011Categories: Windows
Tags: C# Windows Winforms
How to get installed fonts
Published: 20. January 2009 | Updated: 20. January 2009Categories: Windows
Tags: C# Text Windows
How to get system information
Published: 12. January 2009 | Updated: 12. January 2009Categories: Windows
Tags: C# Windows
How to get system directory
Published: 12. January 2009 | Updated: 12. January 2009Categories: Windows
Tags: C# File System Windows
How to set environment variable
Published: 12. January 2009 | Updated: 12. January 2009Categories: Windows
Tags: C# Windows
How to get path to windows special folders
Published: 8. January 2009 | Updated: 8. January 2009Categories: Windows
Tags: C# File System Windows
How to get image from clipboard
Published: 8. January 2009 | Updated: 8. January 2009Categories: GDI Windows
Tags: C# GDI Windows Winforms
How to protect data using user or machine credentials
Published: 5. January 2009 | Updated: 5. January 2009Categories: Encryption Windows
Tags: C# Security Text Windows
How to get environment variables
Published: 5. January 2009 | Updated: 5. January 2009Categories: Framework Windows
Tags: C# Windows
How to delete files or folder to Recycle Bin
Published: 14. December 2008 | Updated: 21. December 2008Categories: Windows File system
Tags: C# File System Windows
How to create screenshot using C#
Published: 13. December 2008 | Updated: 20. December 2008Categories: GDI Windows
Tags: C# GDI Windows
How to play Windows sounds
Published: 14. December 2008 | Updated: 14. December 2008Categories: Windows
Tags: C# Media





