Skip to content

Instantly share code, notes, and snippets.

@chuongmep
Created December 27, 2022 01:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chuongmep/a42a7a99ceb1f31ccadcabb0e1fcbc1e to your computer and use it in GitHub Desktop.
Save chuongmep/a42a7a99ceb1f31ccadcabb0e1fcbc1e to your computer and use it in GitHub Desktop.
Autodesk.Internal.InfoCenter.InfoToolbar autodeskInformaton =ComponentManager.InfoCenterToolBar;
for(int i = 0; i < autodeskInformaton.Items.Count; i++)
{
if(autodeskInformaton.Items[i] is Autodesk.Internal.InfoCenter.WebServicesLoginButton)
{
string autodeskID = ((autodeskInformaton.Items[i] as Autodesk.Internal.InfoCenter.WebServicesLoginButton)!).Text;
Trace.WriteLine(autodeskID);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment