• Api Documentation
  • Source Code
Search Results for

    Show / Hide Table of Contents
    • SharpShellLink
      • Shortcut
    • SharpShellLink.Const
      • KNOWNFOLDERID
    • SharpShellLink.Flags
      • CSIDL
      • CommonNetworkRelativeLinkFlags
      • DriveType
      • FileAttributesFlags
      • FillAttributes
      • FontFamily
      • FontPitch
      • HotKeyFlags
      • LinkFlags
      • LinkInfoFlags
      • ModifierKeys
      • NetworkProviderType
      • ShowCommand
      • VirtualKeyCodes
    • SharpShellLink.PropertyStore
      • IntegerName
      • PropertyType
      • SerializedPropertyStorage
      • SerializedPropertyStore
      • SerializedPropertyValue
      • StringName
      • Structure
      • TypedPropertyValue
    • SharpShellLink.Structures
      • BlockSignature
      • CommonNetworkRelativeLink
      • ConsoleDataBlock
      • ConsoleFEDataBlock
      • CplLinkTargetIDList
      • DarwinDataBlock
      • EnvironmentVariableDataBlock
      • ExtraData
      • ExtraDataBlock
      • IDList
      • IconEnvironmentDataBlock
      • ItemID
      • KnownFolderDataBlock
      • LinkInfo
      • LinkTargetIDList
      • PropertyStoreDataBlock
      • ShellLinkHeader
      • ShimDataBlock
      • SpecialFolderDataBlock
      • StringData
      • Structure
      • TerminalBlock
      • TrackerDataBlock
      • VistaAndAboveIDListDataBlock
      • VolumeID

    Class ExtraData

    ExtraData refers to a set of structures that convey additional information about a link target. These optional structures can be present in an extra data section that is appended to the basic Shell Link Binary File Format.

    Inheritance
    object
    Structure
    ExtraData
    Inherited Members
    Structure.Errors
    Structure.ValidateInputDataSize(int)
    Structure.ValidateHeaderBlockSize(ref byte[], bool)
    Structure.Validate(ref byte[], bool)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: SharpShellLink.Structures
    Assembly: SharpShellLink.dll
    Syntax
    public class ExtraData : Structure

    Constructors

    | Edit this page View Source

    ExtraData()

    Constructor

    Declaration
    public ExtraData()

    Properties

    | Edit this page View Source

    ConsoleDataBlock

    CONSOLE_PROPS: A ConsoleDataBlock structure

    Declaration
    public ConsoleDataBlock? ConsoleDataBlock { get; set; }
    Property Value
    Type Description
    ConsoleDataBlock
    | Edit this page View Source

    ConsoleFEDataBlock

    CONSOLE_FE_PROPS: A ConsoleFEDataBlock structure

    Declaration
    public ConsoleFEDataBlock? ConsoleFEDataBlock { get; set; }
    Property Value
    Type Description
    ConsoleFEDataBlock
    | Edit this page View Source

    DarwinDataBlock

    DARWIN_PROPS: A DarwinDataBlock structure

    Declaration
    public DarwinDataBlock? DarwinDataBlock { get; set; }
    Property Value
    Type Description
    DarwinDataBlock
    | Edit this page View Source

    EnvironmentVariableDataBlock

    ENVIRONMENT_PROPS:An EnvironmentVariableDataBlock structure

    Declaration
    public EnvironmentVariableDataBlock? EnvironmentVariableDataBlock { get; set; }
    Property Value
    Type Description
    EnvironmentVariableDataBlock
    | Edit this page View Source

    ExtraDataSize

    Total size in bytes of the ExtraData structure

    Declaration
    public int ExtraDataSize { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    IconEnvironmentDataBlock

    ICON_ENVIRONMENT_PROPS: An IconEnvironmentDataBlock structure

    Declaration
    public IconEnvironmentDataBlock? IconEnvironmentDataBlock { get; set; }
    Property Value
    Type Description
    IconEnvironmentDataBlock
    | Edit this page View Source

    KnownFolderDataBlock

    KNOWN_FOLDER_PROPS: A KnownFolderDataBlock structure

    Declaration
    public KnownFolderDataBlock? KnownFolderDataBlock { get; set; }
    Property Value
    Type Description
    KnownFolderDataBlock
    | Edit this page View Source

    MinimumBlockSize

    headerBlockSize (4 bytes): A 32-bit, unsigned integer that specifies the size of the ExtraDataBlock structure.

    Declaration
    public override uint MinimumBlockSize { get; }
    Property Value
    Type Description
    uint
    Overrides
    Structure.MinimumBlockSize
    | Edit this page View Source

    PropertyStoreDataBlock

    PROPERTY_STORE_PROPS: A PropertyStoreDataBlock structure

    Declaration
    public PropertyStoreDataBlock? PropertyStoreDataBlock { get; set; }
    Property Value
    Type Description
    PropertyStoreDataBlock
    | Edit this page View Source

    ShimDataBlock

    SHIM_PROPS: A ShimDataBlock structure

    Declaration
    public ShimDataBlock? ShimDataBlock { get; set; }
    Property Value
    Type Description
    ShimDataBlock
    | Edit this page View Source

    SpecialFolderDataBlock

    SPECIAL_FOLDER_PROPS: A SpecialFolderDataBlock structure

    Declaration
    public SpecialFolderDataBlock? SpecialFolderDataBlock { get; set; }
    Property Value
    Type Description
    SpecialFolderDataBlock
    | Edit this page View Source

    TerminalBlock

    TERMINAL_BLOCK: A structure that indicates the end of the extra data section.

    Declaration
    public TerminalBlock TerminalBlock { get; set; }
    Property Value
    Type Description
    TerminalBlock
    | Edit this page View Source

    TrackerDataBlock

    TRACKER_PROPS: A TrackerDataBlock structure

    Declaration
    public TrackerDataBlock? TrackerDataBlock { get; set; }
    Property Value
    Type Description
    TrackerDataBlock
    | Edit this page View Source

    VistaAndAboveIDListDataBlock

    VISTA_AND_ABOVE_IDLIST_PROPS: A VistaAndAboveIDListDataBlock structure

    Declaration
    public VistaAndAboveIDListDataBlock? VistaAndAboveIDListDataBlock { get; set; }
    Property Value
    Type Description
    VistaAndAboveIDListDataBlock

    Methods

    | Edit this page View Source

    FromByteArray(byte[])

    Create an ExtraData from a given byte array

    Declaration
    public static ExtraData FromByteArray(byte[] ba)
    Parameters
    Type Name Description
    byte[] ba

    The byte array

    Returns
    Type Description
    ExtraData

    An ExtraData object

    | Edit this page View Source

    GetBytes()

    Convert the Structure to a byte array

    Declaration
    public override byte[] GetBytes()
    Returns
    Type Description
    byte[]

    Byte array representation of the Structure

    Overrides
    Structure.GetBytes()
    | Edit this page View Source

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    Structure.ToString()
    • Edit this page
    • View Source
    In this article
    Back to top Copyright (c) 2017 Securify B.V., 2026 Jérémy Ansel