![]() | Utility Class |
public static class Utility
The Utility type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | GetWikiPageInfo | Retrieves Wikipedia information for a specific Page Id and returns selected details of the page. |
![]() ![]() | GmtTime | Creates a pleasantly formatted timestamp string that can be placed in web page footers. |
![]() ![]() | HtmlEncode | Encodes a string for display in the body of an HTML page. |
![]() ![]() | IsValidISBN | Determines if a string is probably a valid ISBN 10 or 13. See: ISBN-10 check digit calculation and ISBN-13 check digit calculation. |
![]() ![]() | MetaDecode | Decodes an Azure Blob metadata string that was encoded with MetaEncode(String). |
![]() ![]() | MetaEncode | Encodes a string to a format suitable for storing in Azure Blob metadata. |
![]() ![]() | NiceSize | Formats a long number in a format that is similar to the format used by the Windows Shell. This should be done by the Windows Shell API, but it's not available in a standard2.0 library. |
![]() ![]() | StableHash | See: Blog post: GetHashCode. The original custom hashing code was replaced with the Xxhash32 class after it became available. |
![]() ![]() | TsvDecode | Decodes a string that has been stored in a TSV field. |
![]() ![]() | TsvEncode | Encodes a string so that it can be stored in a TSV field. |
![]() ![]() | WikiSearchAsync | Searches Wikipedia for one or more phrases, and the phrases joined together. |