MobileTrack Nexus Documentation
C#
Show/Hide TOC
String
Buffer
Extensions
Clean
Mac
Address Method
Cleans a MAC address string by removing whitespace, invalid characters, and normalizing separators.
Definition
Namespace:
MobileTrack.Receiver.Extensions
Assembly:
MobileTrack.Receiver (in MobileTrack.Receiver.exe) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
C#
Copy
Request Example
public
static
string
CleanMacAddress
(
this
string
?
mac
)
Parameters
mac
String
The MAC address string to clean.
Return Value
String
The cleaned and normalized MAC address string.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
StringBufferExtensions Class
MobileTrack.Receiver.Extensions Namespace
In This Article
Definition
Parameters
Return Value
Usage Note
See Also