Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | |
|---|---|---|
![]() |
UpdateFile(String, DateTime, Uri, Uri, Int64, FileType, Boolean, Byte[], Byte[]) | Initializes a new instance of the UpdateFile class. |
Properties
| Name | Description | |
|---|---|---|
![]() |
AdditionalHash | Gets the SHA2 hash of this file. |
![]() |
FileUri | Gets the path to this file (the Microsoft Update download center, a third-party site, or a local path). |
![]() |
Hash | Gets the SHA1 hash of this file. |
![]() |
IsEula | Gets whether or not this file is the EULA. |
![]() |
Modified | Gets the NTFS modified date of the published file. |
![]() |
Name | Gets the file name. |
![]() |
OriginUri | Gets the original URL of this file if it was downloaded from a service such as Microsoft Update. |
![]() |
TotalBytes | Gets the total size in bytes of this file. |
![]() |
Type | Gets the type of this file. |
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
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
.jpeg)
.jpeg)
.jpeg)