1 2 3 4 5 6 7 8 9 10 11 12 13 14
using System; namespace Org.BouncyCastle.Utilities { public sealed class Times { private static long NanosecondsPerTick = 100L; public static long NanoTime() { return DateTime.UtcNow.Ticks * NanosecondsPerTick; } } }