up
This commit is contained in:
18
Assets/BestHTTP/SecureProtocol/util/Times.cs
Normal file
18
Assets/BestHTTP/SecureProtocol/util/Times.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
||||
|
||||
using System;
|
||||
|
||||
namespace Org.BouncyCastle.Utilities
|
||||
{
|
||||
public sealed class Times
|
||||
{
|
||||
private static long NanosecondsPerTick = 100L;
|
||||
|
||||
public static long NanoTime()
|
||||
{
|
||||
return DateTime.UtcNow.Ticks * NanosecondsPerTick;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user