Category

.NET

10 articles in this category

Writing a portscan utility in .NET

January 30, 2023 1 min read

I’m working on a side project that is a portscan utility written in VB.net. Here’s my progress so far, and it is working. There’s some way to go…

FileSystemWatcher – LastAccess Not Working

September 21, 2022 1 min read

To have System.IO.FileSystemWatcher LastAccess work, the system must have access logging enabled with the following command. fsutil behavior set DisableLastAccess 0 After setting this, reboot, and you can…

Get File Count Recursively

December 1, 2016 2 min read

The fastest routine for counting all files recursively given a path in VB.NET that I've found so far.

Development Log: Duplicate File Finder

November 27, 2016 6 min read

I have thousands of files stored on an external USB attached 1TB drive.  My drive is currently 95% full.  I know I have duplicate files throughout the drive…

Office.com Online using WinForms

August 8, 2014 2 min read

This isn't true API access, just a WebBrowser control. I'm looking into the API though which would require me to register my Application even though it's not a…

Change User-Agent in WebBrowser Control

August 8, 2014 1 min read

This snippet of code worked when tested in VB.NET application I'm working on. It will set the User Agent string for the duration of the control. Private Property…

Stopwatch for Windows

June 5, 2014 1 min read

I forgot I wrote this for a specific reason some time ago and came across it this morning decluttering some folders on my NAS. I can't find the…

Tool: bitcalc – A Bit Calculator in .NET

February 15, 2013 1 min read

Convert between bits/bytes/kilobits/kilobytes/megabits/megabytes/gigabits/gigabytes What is it? This is completely based on Matisse.net's online bitcalc tool: http://www.matisse.net/bitcalc/ Enter in an amount of units and click calculate.  For example, in the…

Yawcam Viewer

August 16, 2012 1 min read

I am working on a Motion-JPEG stream viewer for the Yawcam webcam streaming software.  This allows you to enter your stream's URL and choose the size for the…