• 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 StringName

    The Serialized Property Value (String Name) structure specifies a single property within a Serialized Property Storage structure, where the property is identified by a unique Unicode string.

    Inheritance
    object
    Structure
    SerializedPropertyValue
    StringName
    Inherited Members
    SerializedPropertyValue.TypedPropertyValue
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: SharpShellLink.PropertyStore
    Assembly: SharpShellLink.dll
    Syntax
    public class StringName : SerializedPropertyValue

    Constructors

    | Edit this page View Source

    StringName()

    Constructor

    Declaration
    public StringName()
    | Edit this page View Source

    StringName(string, TypedPropertyValue)

    Declaration
    public StringName(string Name, TypedPropertyValue TypedPropertyValue)
    Parameters
    Type Name Description
    string Name

    A null-terminated Unicode string that specifies the identity of the property

    TypedPropertyValue TypedPropertyValue

    A TypedPropertyValue structure

    Properties

    | Edit this page View Source

    Name

    Name (variable): A null-terminated Unicode string that specifies the identity of the property. It MUST be unique within the enclosing Serialized Property Storage structure.

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

    NameSize

    Name Size (4 bytes): An unsigned integer that specifies the size, in bytes, of the Name field, including the null-terminating character.

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

    Reserved

    Reserved(1 byte): MUST be 0x00.

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

    ValueSize

    Value Size (4 bytes): An unsigned integer that specifies the total size, in bytes, of this structure. It MUST be 0x00000000 if this is the last The Serialized Property Value in the enclosing Serialized Property Storage structure.

    Declaration
    public override uint ValueSize { get; }
    Property Value
    Type Description
    uint
    Overrides
    SerializedPropertyValue.ValueSize

    Methods

    | Edit this page View Source

    FromByteArray(byte[])

    Create an SerializedPropertyValue from a given byte array

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

    The byte array

    Returns
    Type Description
    SerializedPropertyValue

    An SerializedPropertyValue 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