Code.

ISBN10(bool) Method

Summary

Generates an ISBN-10 Code
Namespace
Faker
Containing Type
Code

Syntax

public static string ISBN10(bool validChecksum = true)

Remarks

Description of the ISBN standard is at wikipedia. Checksum routines are at isb-check.

Parameters

Name Type Description
validChecksum bool Indicates whether the generated ISBN has a valid checksum or not

Return Value

Type Description
string The generated ISBN-10

See Also

GitHub