UpdateFile Class


Applies To: Windows Server Update Services

This class defines an update file associated with an InstallableItem.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Inheritance Hierarchy



public class UpdateFile
public ref class UpdateFile 
type UpdateFile = class end
Public Class UpdateFile


Name Description
System_CAPS_pubmethod UpdateFile(String, DateTime, Uri, Uri, Int64, FileType, Boolean, Byte[], Byte[])

Initializes a new instance of the UpdateFile class.


Name Description
System_CAPS_pubproperty AdditionalHash

Gets the SHA2 hash of this file.

System_CAPS_pubproperty FileUri

Gets the path to this file (the Microsoft Update download center, a third-party site, or a local path).

System_CAPS_pubproperty Hash

Gets the SHA1 hash of this file.

System_CAPS_pubproperty IsEula

Gets whether or not this file is the EULA.

System_CAPS_pubproperty Modified

Gets the NTFS modified date of the published file.

System_CAPS_pubproperty Name

Gets the file name.

System_CAPS_pubproperty OriginUri

Gets the original URL of this file if it was downloaded from a service such as Microsoft Update.

System_CAPS_pubproperty TotalBytes

Gets the total size in bytes of this file.

System_CAPS_pubproperty Type

Gets the type of this file.


Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

Microsoft.UpdateServices.Administration Namespace

Return to top