Skip to content

BananaAcid/Selfcontained-C-Sharp-WPF-compatible-utility-classes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selfcontained C# WPF compatible utility classes

Some classes of my various projects.

Note: These classes are self contained. Usually for WPF. If not, they will be marked.

MIT license used.

  • TCP-XML-Stream/
    • XML Stream functions. Including: .Net Core compatible code, Node Red tester, simple to use
  • Utils MSFT_Helpers.cs
    • is wrapping the MSFT_StorageObject, MSFT_Partition and MSFT_Disk system classes for easy use and using IDE completable properties
  • Utils.Admin.cs
    • has a check and a method with callback to restart in elevated mode
  • Utils.GetUpdate.cs
    • simple update checker, download, execute functions - based on server with simple json file - using IDE completable properties
  • Utils.InstalledApplications.cs
    • checks the registry for a list exe-names of installed applications (or a single one)
  • Utils.ManagementConsoleWatchers.cs
    • this uses WqlEventQuery to check for an inserted Disk drive (disk found event watcher), but can be used for any system events
  • Utils.ObservableProperties.cs
    • simple properites that will automagically update the WPF UI if modified (as single properties, as part of your main class)
  • Utils.SingleInstance.cs
    • Prevent the app from running again. No Mutex required, using Task, no TCP.
  • Utils.StartArgs.cs
    • creates a dictionary with distinct start params (change it to list for mutliple same params), supporting linux and windows and microsoft param styles equally
  • Utils.StartWithWindows.cs
    • registers the current app (registry) to be started with windows, or removes it
  • Utils.TcGetMounts.cs
    • get TrueCrypt mounted drives and their infos
  • Utils.VcGetMounts.cs
    • get VeraCrypt (newer then TrueCrypt and frequently updated) mounted drives and some of their infos exposed
  • Utils.VcGetMounts.v2.cs
    • get VeraCrypt (newer then TrueCrypt and frequently updated) mounted drives and more of their infos exposed
    • required by the commandline tool VeraCrypt-Cmd (GitHub)
  • Utils.WinIcon.cs
    • get UAC icon, and others as well as any with a generic (in small and large) as Bitmap, using IDE completable properties
  • passing a method.txt
    • simple explaination on how to call an event on a class
  • simple language resourcedictionaries + usage.txt
    • simple explaination on how to create language files as XML resources (strings, textblocks, images, ...), with switchable lang, and WPF UI support (no empty areas)
  • using windows styled messageboxes in WPF with compatible syntax.txt
    • a drop in extension to keep syntax with the WPF MessageBox commands, but using the Windows 8/10 styled ones

more:

  • filterNewsletterEmlsForSpecificProject.cs here
  • eml2img.cs here
    • extract images from eml files
  • SimplestHttpFileServer.cs here
    • Super simple c# file server - works with cs-script

About

Selfcontained C# WPF compatible utility classes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages