This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ZetaProducer.RuntimeGui.ExtendedWebBrowser | |
{ | |
using JetBrains.Annotations; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
using System.Windows.Forms; | |
using Zeta.VoyagerLibrary.Common.IO; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ZetaHelpdesk.MainBlazor.Code.Components | |
{ | |
using System; | |
using System.Timers; | |
// https://wellsb.com/csharp/aspnet/blazor-timer-navigate-programmatically/ | |
public sealed class BlazorTimer | |
{ | |
private Timer _timer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Extensions | |
{ | |
using System; | |
using System.Globalization; | |
using System.Threading; | |
public static class FileSizeExtensions | |
{ | |
public static string FormatFileSize( | |
this long fileSize, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Tools; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Runtime.InteropServices; | |
/// <summary> | |
/// Wrapper for the "NET USE" functionality. | |
/// Connect to a network resource, e.g. a network share under a different user. | |
/// </summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Tools; | |
using Microsoft.Win32.SafeHandles; | |
using System.ComponentModel; | |
using System.Runtime.InteropServices; | |
using System.Security.Principal; | |
/// <summary> | |
/// Impersonation of a user. Allows to execute code under another | |
/// user context. |
OlderNewer