InstallUpdate Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Validates and installs the update.
Namespace: Microsoft.SPOT.MFUpdate
Assembly: MFUpdate (in MFUpdate.dll)
Syntax
'Declaration
Public Function InstallUpdate ( _
updateValidation As Byte() _
) As Boolean
public bool InstallUpdate(
byte[] updateValidation
)
public:
bool InstallUpdate(
array<unsigned char>^ updateValidation
)
member InstallUpdate :
updateValidation:byte[] -> bool
public function InstallUpdate(
updateValidation : byte[]
) : boolean
Parameters
- updateValidation
Type: array<System. . :: . .Byte> [] () [] []
The validation data for the entire update package.
Return Value
Type: System. . :: . .Boolean
true if successful; otherwise, false. This method may not return if the installer requires a reboot.
Remarks
Because installing an update may reboot the device, you may want to call the ValidateUpdate method first to verify that the installation will succeed.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.