Share via


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

System.Object
  Microsoft.UpdateServices.Administration.UpdateFile

Syntax

[SerializableAttribute]
[GuidAttribute("215E2088-5E5D-4438-A3C5-00C40A068D2E")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[ComVisibleAttribute(true)]
public class UpdateFile
[SerializableAttribute]
[GuidAttribute("215E2088-5E5D-4438-A3C5-00C40A068D2E")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[ComVisibleAttribute(true)]
public ref class UpdateFile 
[<SerializableAttribute>]
[<GuidAttribute("215E2088-5E5D-4438-A3C5-00C40A068D2E")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
[<ComVisibleAttribute(true)>]
type UpdateFile = class end
<SerializableAttribute>
<GuidAttribute("215E2088-5E5D-4438-A3C5-00C40A068D2E")>
<ClassInterfaceAttribute(ClassInterfaceType.None)>
<ComVisibleAttribute(True)>
Public Class UpdateFile

Constructors

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

Initializes a new instance of the UpdateFile class.

Properties

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.

Methods

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