Sign In
Poor man's version of a blog by octavio licea
Poor man's version of a blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
DirectoryEntry wmi printjob
Archive
Archives
March 2008
(2)
October 2007
(1)
March, 2008
MSDN Blogs
>
Poor man's version of a blog by octavio licea
>
March, 2008
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Poor man's version of a blog by octavio licea
Search files in C# recursively
Posted
over 4 years ago
by
ocleon
3
Comments
I found this piece of code to search a for a file that containing a pattern (extension, part of the name) void DirSearch( string dir, string pattern) { try { foreach ( string d in Directory .GetDirectories(dir)) { foreach ( string...
Poor man's version of a blog by octavio licea
Get Print Jobs using WMI and ManagmentObjects
Posted
over 4 years ago
by
ocleon
1
Comments
I found a way to get the print jobs from the spoiler using Management objects and WMI public static void GetPrintJobs() { string searchQuery = "SELECT * FROM Win32_PrintJob" ; ManagementObjectSearcher searchPrintJobs = new ManagementObjectSearcher...
Page 1 of 1 (2 items)