WebLock Class

A granted lock (https://w3c.github.io/web-locks/#api-lock): the Lock interface, named WebLock in .NET as Lock has its name.

public sealed class WebLock

Properties

NameDescription
ModeGets the mode of the lock.
NameGets the name of the resource.

Gets the mode of the lock.

public LockMode Mode { get; }

Gets the name of the resource.

public string Name { get; }