azure-core
Loading...
Searching...
No Matches
environment.hpp
1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4#pragma once
5
6#include <string>
7
8namespace Azure { namespace Core { namespace _internal {
9 class Environment final {
10 private:
11 Environment() = delete;
12 ~Environment() = delete;
13
14 public:
15 static std::string GetVariable(const std::string& name) { return GetVariable(name.c_str()); }
16 static void SetVariable(const std::string& name, const std::string& value)
17 {
18 SetVariable(name.c_str(), value.c_str());
19 }
20
21 static std::string GetVariable(const char* name);
22 static void SetVariable(const char* name, const char* value);
23 };
24}}} // namespace Azure::Core::_internal
Compute the hash value for the input binary data, using SHA256, SHA384 and SHA512.
Definition azure_assert.hpp:57