Search Results for

    Show / Hide Table of Contents

    Class VersionedPaths

    Helper class with common settings locations.

    Inheritance
    System.Object
    VersionedPaths
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Sdl.Versioning
    Assembly: Sdl.Versioning.dll
    Syntax
    public static class VersionedPaths

    Properties

    CompanyAppDataPath

    Returns the company path to store settings in a roaming user folder. Settings shared between all company applications. e.g. C:\Users*username*\AppData\Roaming\SDL

    Declaration
    public static string CompanyAppDataPath { get; }
    Property Value
    Type Description
    System.String

    LocalUserAppDataPath

    Returns the path to store settings in a non roaming user folder. e.g. C:\Users*username*\AppData\Local\SDL\SDL Trados Studio\Studio16Beta

    Declaration
    public static string LocalUserAppDataPath { get; }
    Property Value
    Type Description
    System.String

    ProgramDataPath

    Returns the path to store settings in a per machine folder. e.g. C:\ProgramData\SDL\SDL Trados Studio\Studio16Beta

    Declaration
    public static string ProgramDataPath { get; }
    Property Value
    Type Description
    System.String

    RetailProgramDataPath

    Returns the path to store settings in a per machine folder that is fixed per edition e.g. C:\ProgramData\SDL\SDL Trados Studio\Studio16 (never beta etc)

    Declaration
    public static string RetailProgramDataPath { get; }
    Property Value
    Type Description
    System.String

    UnversionedUserAppDataPath

    Returns the unversioned path to store settings in a roaming user folder. Settings shared between versions can be stored here. e.g. C:\Users*username*\AppData\Roaming\SDL\SDL Trados Studio

    Declaration
    public static string UnversionedUserAppDataPath { get; }
    Property Value
    Type Description
    System.String

    UserAppDataPath

    Returns the path to store settings in a roaming user folder. e.g. C:\Users*username*\AppData\Roaming\SDL\SDL Trados Studio\Studio16Beta

    Declaration
    public static string UserAppDataPath { get; }
    Property Value
    Type Description
    System.String

    UserAppDataRegistry

    Returns a Microsoft.Win32.RegistryKey in which to store per user settings e.g. HKEY_CURRENT_USER\SOFTWARE\SDL\SDL Trados Studio\Studio16Beta

    Declaration
    public static RegistryKey UserAppDataRegistry { get; }
    Property Value
    Type Description
    Microsoft.Win32.RegistryKey

    On this page

    • Properties
      • CompanyAppDataPath
      • LocalUserAppDataPath
      • ProgramDataPath
      • RetailProgramDataPath
      • UnversionedUserAppDataPath
      • UserAppDataPath
      • UserAppDataRegistry
    Back to top Generated by DocFX