Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

コンピュータの名前やユーザの名前を取得する関数 #968

Closed
Reputeless opened this issue Mar 19, 2023 · 1 comment
Closed
Labels

Comments

@Reputeless
Copy link
Member

Reputeless commented Mar 19, 2023

  • System::ComputerName()
  • System::UserName()
  • System::FullUserName()
@Reputeless Reputeless added this to ToDo in v0.6 Roadmap Mar 19, 2023
@Reputeless Reputeless changed the title ユーザのフルネームを取得する関数 コンピュータの名前やユーザの名前を取得する関数 Mar 25, 2023
@Reputeless
Copy link
Member Author

サンプル

# include <Siv3D.hpp> // OpenSiv3D v0.6.8

void Main()
{
	Print << U"ComputerName: " << System::ComputerName();

	Print << U"UserName: " << System::UserName();

	Print << U"FullUserName: " << System::FullUserName();

	Print << U"DefaultLocale: " << System::DefaultLocale();

	Print << U"DefaultLanguage: " << System::DefaultLanguage();

	while (System::Update())
	{
		
	}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

1 participant