src/AppInstallerCommonCore/Runtime.cpp
Utility::LocIndString GetDefaultUserAgent()
    {
        std::ostringstream strstr;
        strstr <<
            "winget-cli"
            " WindowsPackageManager/" << GetClientVersion() <<
            " DesktopAppInstaller/" << GetPackageVersion();
        return Utility::LocIndString{ strstr.str() };
    }
// Using "standard" user agent format
// Keeping `winget-cli` for historical reasons

Using "standard" user agent format
Keeping `winget-cli` for historical reasons
Using " standard " user agent format Keeping ` winget - cli ` for historical reasons
Utility::LocIndString GetDefaultUserAgent()
    {
        std::ostringstream strstr;
        strstr <<
            "winget-cli"
            " WindowsPackageManager/" << GetClientVersion() <<
            " DesktopAppInstaller/" << GetPackageVersion();
        return Utility::LocIndString{ strstr.str() };
    }
Utility :: LocIndString GetDefaultUserAgent ( ) { std :: ostringstream strstr ; strstr << " " " " << GetClientVersion ( ) << " " << GetPackageVersion ( ) ; return Utility :: LocIndString { strstr . str ( ) } ; }
Using "standard" user agent format
Keeping `winget-cli` for historical reasons
Using " standard " user agent format Keeping ` winget - cli ` for historical reasons