winregistry

package
v0.0.0-...-81e640e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Rendered for windows/amd64

Overview

Package winregistry provides helper functions for interacting with the Windows Registry

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAgentUserName

func GetAgentUserName() (string, error)

GetAgentUserName returns the user name for the Agent, stored in the registry by the Installer MSI

func GetProgramDataDirForProduct

func GetProgramDataDirForProduct(product string) (path string, err error)

GetProgramDataDirForProduct returns the current programdatadir, usually c:\programdata\Datadog given a product key name

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL