Show / Hide Table of Contents

Class IDGenerator

Generates pseudo-random IDs.

Inheritance
object
IDGenerator
Implements
IIDGenerator
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: ComponentSpace.OpenID.Security
Assembly: ComponentSpace.OpenID.dll
Syntax
public class IDGenerator : IIDGenerator

Methods

Generate(int)

Generates a pseudo-random ID.

Declaration
public virtual string Generate(int length = 32)
Parameters
Type Name Description
int length

The length of the generated ID.

Returns
Type Description
string

The pseudo-random ID.

Implements

IIDGenerator
In this article
Back to top Copyright © ComponentSpace Pty Ltd 2022-2026. All rights reserved.