Skip to content

Feature request: Add Environment.LongTickCount #28754

@geoffkizer

Description

@geoffkizer

Environment.TickCount rolls over, which makes it inconvenient to use. See e.g. dotnet/corefx#35401

To remedy this, we should add Environment.LongTickCount. This is trivial to implement on Windows using GetTickCount64.

public static class Environment
{
    public static long LongTickCount { get; } // or TickCount64
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions