{"id":24895559,"url":"https://github.com/maxlorenz/commonlibrary","last_synced_at":"2025-06-26T16:37:17.468Z","repository":{"id":32908489,"uuid":"36503377","full_name":"maxlorenz/commonlibrary","owner":"maxlorenz","description":"A library for common tasks in .Net","archived":false,"fork":false,"pushed_at":"2015-10-05T11:54:47.000Z","size":172,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-20T11:10:47.627Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxlorenz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-29T12:35:30.000Z","updated_at":"2015-05-29T12:40:06.000Z","dependencies_parsed_at":"2022-07-22T04:47:57.087Z","dependency_job_id":null,"html_url":"https://github.com/maxlorenz/commonlibrary","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxlorenz/commonlibrary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlorenz%2Fcommonlibrary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlorenz%2Fcommonlibrary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlorenz%2Fcommonlibrary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlorenz%2Fcommonlibrary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxlorenz","download_url":"https://codeload.github.com/maxlorenz/commonlibrary/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxlorenz%2Fcommonlibrary/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262103270,"owners_count":23259424,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-01T19:18:46.235Z","updated_at":"2025-06-26T16:37:17.443Z","avatar_url":"https://github.com/maxlorenz.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Common Library\n\n## FileSystemService\n\n```c#\npublic AuthorizationRuleCollection GetAccessRules(string Path)\n\npublic async Task\u003cAuthorizationRuleCollection\u003e GetAccessRulesAsync(string Path)\n```\n## InstalledSoftwareService\n\n```c#\npublic InstalledSoftwareService(string RemoteComputer, string Username, string Password)\n\npublic SortedSet\u003cSoftware\u003e GetInstalledSoftware()\n\npublic async Task\u003cSortedSet\u003cSoftware\u003e\u003e GetInstalledSoftwareAsync()\n```\n## LDAPService\n\n```c#\npublic LDAPService(string Domain)\n\npublic IEnumerable\u003cPrincipal\u003e FindAllByName(string Name)\n\npublic async Task\u003cPrincipal\u003e FindOneByNameAsync(string Name)\n\npublic Principal FindOneByName(string Name)\n\npublic async Task\u003cIEnumerable\u003cPrincipal\u003e\u003e FindAllByNameAsync(string Name)\n\npublic PropertyCollection GetPropertyCollection(UserPrincipal User)\n\npublic async Task\u003cPropertyCollection\u003e GetPropertyCollectionAsync(UserPrincipal User)\n\npublic Principal GetFromAccessRule(AccessRule Rule)\n\npublic bool IsInheritedMemberOf(Principal Member, GroupPrincipal Group)\n\npublic async Task\u003cbool\u003e IsInheritedMemberOfAsync(Principal Member, GroupPrincipal Group)\n```\n## MailService\n\n```c#\npublic MailService(string Server, int Port)\n\npublic void Send(string Sender, string Subject, string Body, IEnumerable\u003cstring\u003e To)\n\npublic void AddAttachement(String Path)\n```\n## SharerightsService\n\n```c#\npublic SharerightsService(string Domain)\n\npublic IEnumerable\u003cDirectoryAccessRule\u003e GetDirectoryAccessRules(string Directory)\n```\n## WMIService\n\n```c#\npublic WMIService()\n\npublic WMIService(string Computername, string Username, string Password)\n\npublic IEnumerable\u003cKeyValuePairList\u003e GetWQLResults(string Query)\n\npublic async Task\u003cIEnumerable\u003cKeyValuePairList\u003e\u003e GetWQLResultsAsync(string Query)\n\npublic IEnumerable\u003cstring\u003e GetWMIClasses()\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxlorenz%2Fcommonlibrary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxlorenz%2Fcommonlibrary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxlorenz%2Fcommonlibrary/lists"}