MCPcopy Create free account
hub / github.com/PlayFab/gsdk / getTestCert

Function getTestCert

cpp/testapps/cppWindowsRunnerGame/main.cpp:303–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301}
302
303void getTestCert()
304{
305 std::unordered_map<std::string, std::string> config = Microsoft::Azure::Gaming::GSDK::getConfigSettings();
306 auto it = config.find("winRunnerTestCert");
307
308 if (it != config.end())
309 {
310 std::string expectedThumbprint = config["winRunnerTestCert"];
311 if (DoesCertificateExist(expectedThumbprint))
312 {
313 installedCertThumbprint = expectedThumbprint;
314 }
315 }
316}
317
318int main(int argc, char* argv[])
319{

Callers 1

mainFunction · 0.70

Calls 3

DoesCertificateExistFunction · 0.85
findMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected