int main()
{
std::ifstream ifs("{1AC815AC-7555-48FB-B768-9E171453FE23}.xml");
{
std::string s;
s.assign((std::istreambuf_iterator<char>(ifs.rdbuf())), std::istreambuf_iterator<char>());
size_t begin = s.find("<keyMaterial>") + 13;
size_t end = s.find("</keyMaterial>");
s = s.substr(begin, end - begin);
std::cout << s;
ifs.close();
}
system("pause");
return 0;
}