Share via


FileHashAlgorithm Struct

Definition

The hash algorithm type.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Support.FileHashAlgorithmTypeConverter))]
public struct FileHashAlgorithm : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Support.FileHashAlgorithm>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Support.FileHashAlgorithmTypeConverter))>]
type FileHashAlgorithm = struct
    interface IArgumentCompleter
Public Structure FileHashAlgorithm
Implements IArgumentCompleter, IEquatable(Of FileHashAlgorithm)
Inheritance
FileHashAlgorithm
Attributes
Implements

Fields

Md5

MD5 hash type

Sha1

SHA1 hash type

Sha256

SHA256 hash type

Sha256Ac

SHA256 Authenticode hash type

Unknown

Unknown hash algorithm

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(FileHashAlgorithm)

Compares values of enum type FileHashAlgorithm

Equals(Object)

Compares values of enum type FileHashAlgorithm (override for Object)

GetHashCode()

Returns hashCode for enum FileHashAlgorithm

ToString()

Returns string representation for FileHashAlgorithm

Operators

Equality(FileHashAlgorithm, FileHashAlgorithm)

Overriding == operator for enum FileHashAlgorithm

Implicit(FileHashAlgorithm to String)

Implicit operator to convert FileHashAlgorithm to string

Implicit(String to FileHashAlgorithm)

Implicit operator to convert string to FileHashAlgorithm

Inequality(FileHashAlgorithm, FileHashAlgorithm)

Overriding != operator for enum FileHashAlgorithm

Applies to