Generates a new locally unique identifier.
Namespace: DotRas
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)
Syntax
| C# |
|---|
public static Luid NewLuid() |
| Visual Basic |
|---|
Public Shared Function NewLuid As Luid |
| Visual C++ |
|---|
public: static Luid NewLuid() |
| F# |
|---|
static member NewLuid : unit -> Luid |
Return Value
Type: LuidA new Luid structure.
Remarks
A Luid is guaranteed to be unique only on the system on which it was generated. Also, the uniqueness of a Luid is guaranteed only until the system is restarted.