Internet Class

Summary

A collection of address related resources.
Namespace
Faker
Base Types
  • object
graph TD Base0["object"]-->Type Type["Internet"] class Type type-node

Syntax

public static class Internet

Remarks

The resources are acquired by satellite assemblies matching the current thread's System.Globalization.CultureInfo. If no matching satellite assembly is found, the english version is used.

Methods

Name Value Summary
DomainName() string
Generates the name of a random domain.
static
DomainSuffix() string
Generates a random domain suffix (ex. com,net,info etc.).
static
DomainWord() string
Generates a random domain word.
static
Email() string
Generates a random email address.
static
Email(string) string
Generates a random email address.
static
FreeEmail() string
Generates a random free email address.
static
IPv4Address() string
Gets a random ip v4 address.
static
IPv6Address() string
Gets a random ip v6 address.
static
MacAddress(string, char) string
Gets a random mac address.
static
Password(int, int) string
Gets a random password.
static
Slug(string, string) string
Gets a random slug.
static
Url() string
Gets a random URL.
static
UserName() string
Generates a random username.
static
UserName(string) string
Generates a random username.
static
GitHub