Utility Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Provides a collection of helper functions you can use to configure settings for security, collections, driver manipulation, time, and idle CPU usage.
Inheritance Hierarchy
System. . :: . .Object
Microsoft.SPOT.Hardware..::..Utility
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)
Syntax
'Declaration
Public NotInheritable Class Utility
public static class Utility
public ref class Utility abstract sealed
[<AbstractClass>]
[<Sealed>]
type Utility = class end
public final class Utility
The Utility type exposes the following members.
Methods
Name | Description | |
---|---|---|
Backlight | Controls the backlight hardware feature. | |
CombineArrays(array<Byte> [] () [] [], array<Byte> [] () [] []) | Combines all of the data from two arrays of bytes into one array. | |
CombineArrays(array<Byte> [] () [] [], Int32, Int32, array<Byte> [] () [] [], Int32, Int32) | Combines ranges of data from two arrays of bytes into one array. | |
ComputeCRC | Computes a cyclic redundancy check (CRC) from the specified byte array buffer. | |
ExtractRangeFromArray | Extracts a linear section of data from a byte array. | |
ExtractValueFromArray | Extracts a value from a byte array, using the specified position and size of the data objects in the array. | |
GetMachineTime | Gets the machine time (system time). | |
InsertValueIntoArray | Inserts a value at a specified position in a byte array. | |
Piezo | Causes a sound to be emitted from the piezo speaker. | |
SetLocalTime | Sets the system to the local time. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.