MFUpdate Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents the abstract base class for MFUpdates.

Inheritance Hierarchy

System. . :: . .Object
  Microsoft.SPOT.MFUpdate. . :: . .MFUpdateBase
    Microsoft.SPOT.MFUpdate..::..MFUpdate
      Microsoft.SPOT.MFUpdate. . :: . .MFAssemblyUpdate
      Microsoft.SPOT.MFUpdate. . :: . .MFFirmwareUpdate
      Microsoft.SPOT.MFUpdate. . :: . .MFKeyUpdate

Namespace:  Microsoft.SPOT.MFUpdate
Assembly:  MFUpdate (in MFUpdate.dll)

Syntax

'Declaration
Public MustInherit Class MFUpdate _
    Inherits MFUpdateBase
public abstract class MFUpdate : MFUpdateBase
public ref class MFUpdate abstract : public MFUpdateBase
[<AbstractClass>]
type MFUpdate =  
    class
        inherit MFUpdateBase
    end
public abstract class MFUpdate extends MFUpdateBase

The MFUpdate type exposes the following members.

Constructors

  Name Description
Public method MFUpdate Called from constructors in derived classes to initialize the MFUpdate class.

Top

Methods

  Name Description
Public method AddPacket Validates and stores an indexed packet to the update storage file.
Public method AuthenticationCommand Performs an authentication command.
Public method DeleteUpdate Deletes the current update's storage file.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetMissingPacketsEnumerator Returns an enumerator object that represents the number of missing packets.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetUpdateProperty(String, array<Byte> [] () [] []%) Gets the raw property value for a given property name.
Public method GetUpdateProperty(String, Object%) Gets the update property given the property name.
Public method InstallUpdate Validates and installs the update.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Open Authenticates the update and opens the update storage file.
Public method SetUpdateProperty(String, array<Byte> [] () [] []) Sets the raw update property for the given property name.
Public method SetUpdateProperty(String, Object) Sets the update property for the given property name.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method ValidateUpdate Validates the entire update package with the given validation data.

Top

Fields

  Name Description
Protected field m_packetSize Represents the packet size, in bytes. (Inherited from MFUpdateBase.)
Protected field m_provider Represents the update provider name. (Inherited from MFUpdateBase.)
Protected field m_updateHandle Represents the handle for the update. (Inherited from MFUpdateBase.)
Protected field m_updateID Represents the identification number for the update. (Inherited from MFUpdateBase.)
Protected field m_updateSize Represents the total amount of memory, in bytes, required to store the entire update. (Inherited from MFUpdateBase.)
Protected field m_updateSubType Represents the subtype of the update. (Inherited from MFUpdateBase.)
Protected field m_updateType Represents the type of the update; such as, firmware, assembly or some other update type. (Inherited from MFUpdateBase.)
Protected field m_updateVersion Represents the version of the update (Major, Minor, Build, Revision). (Inherited from MFUpdateBase.)

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.

See Also

Reference

Microsoft.SPOT.MFUpdate Namespace