Got at least one data fetching method working; turns out, we can't use a patched LogicStack to get the data
This commit is contained in:
16
Vendor/EmbedIO-3.5.2/Utilities/UniqueIdGenerator.cs
vendored
Normal file
16
Vendor/EmbedIO-3.5.2/Utilities/UniqueIdGenerator.cs
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
|
||||
namespace EmbedIO.Utilities
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>Generates locally unique string IDs, mainly for logging purposes.</para>
|
||||
/// </summary>
|
||||
public static class UniqueIdGenerator
|
||||
{
|
||||
/// <summary>
|
||||
/// Generates and returns a unique ID.
|
||||
/// </summary>
|
||||
/// <returns>The generated ID.</returns>
|
||||
public static string GetNext() => Convert.ToBase64String(Guid.NewGuid().ToByteArray()).Substring(0, 22);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user