https://github.com/stellarbear/auxiliarysharp
Just a bunch of useful methods
https://github.com/stellarbear/auxiliarysharp
Last synced: 11 months ago
JSON representation
Just a bunch of useful methods
- Host: GitHub
- URL: https://github.com/stellarbear/auxiliarysharp
- Owner: stellarbear
- License: mit
- Created: 2018-08-23T07:57:00.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-15T06:20:18.000Z (over 7 years ago)
- Last Synced: 2025-03-01T02:23:27.146Z (over 1 year ago)
- Language: C#
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# StringsSharp
Just a bunch of useful methods. Nuget package is [available](https://www.nuget.org/packages/AuxiliarySharp/) provided.
# Method list
* Drive
* string GetDriveLabel(string driveName)
* Folder
* IEnumerable GetKnownFolders()
* string GetKnownFolder(KnownFolders type)
* General
* string GetCurrentTime()
* string GetCurrentDirectory()
* void CopyToClipboard(object value)
* string MakeRelative(string path)
* void OpenDirectory(string filename)
* string GetHumanReadableFileSize(string filepath)
* string GetHumanReadableFileSize(long filesize)
* bool CheckIfFileIsAccessible(string filepath)
* Processing
* void Serialize(string filename, T aimClass)
* T DeSerialize(string filename)
* string ReadFile(string filename)
* void WriteFile(string filename, string content)
* void DeleteFile(string filename)
* ShellIcon
* ImageSource GetShellIcon(string filePath)