C# Class Netduino.WebServer.Core.Utilities.Format

Afficher le fichier Open project: martinbuberl/Netduino

Méthodes publiques

Méthode Description
BoolToYesNo ( bool value ) : string

Returns "Yes" if true; otherwise "No".

GetPhysicalAddress ( byte byteArray, char seperator = '-' ) : string

Formats a byte array to a physical address (MAC address).

Method Details

BoolToYesNo() public static méthode

Returns "Yes" if true; otherwise "No".
public static BoolToYesNo ( bool value ) : string
value bool The boolean to format.
Résultat string

GetPhysicalAddress() public static méthode

Formats a byte array to a physical address (MAC address).
public static GetPhysicalAddress ( byte byteArray, char seperator = '-' ) : string
byteArray byte The byte array to format.
seperator char The seperator.
Résultat string