{"id":19512979,"url":"https://github.com/guionardo/csharp_utils","last_synced_at":"2026-06-13T03:01:50.349Z","repository":{"id":93380436,"uuid":"98359156","full_name":"guionardo/csharp_utils","owner":"guionardo","description":"Code snippets and tool classes in C Sharp","archived":false,"fork":false,"pushed_at":"2018-01-04T14:11:47.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-20T03:23:01.291Z","etag":null,"topics":["csharp","csharp-code"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guionardo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-25T23:44:34.000Z","updated_at":"2017-07-25T23:55:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb1745c8-7b81-492e-b86a-7503561cf812","html_url":"https://github.com/guionardo/csharp_utils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/guionardo/csharp_utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guionardo%2Fcsharp_utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guionardo%2Fcsharp_utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guionardo%2Fcsharp_utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guionardo%2Fcsharp_utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guionardo","download_url":"https://codeload.github.com/guionardo/csharp_utils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guionardo%2Fcsharp_utils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34270417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["csharp","csharp-code"],"created_at":"2024-11-10T23:28:23.288Z","updated_at":"2026-06-13T03:01:50.327Z","avatar_url":"https://github.com/guionardo.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# csharp_utils\n\nCode snippets and tool classes in C Sharp\n\n## Classes\n\nGuiosoft.Antivirus (static)\n\n```c#\npublic static AVInfo[] AVList\t// List of the antivirus installed\n```\n```c#\npublic static string AVInfo()\t// Returns string with all the antivirus installed on the system\n```\n```c#\npublic static void Update()\t\t// Update the list of antivirus\n```\n\nGuiosoft.Firewall (static)\n```c#\npublic static FWInfo[] FWList\t// List of the firewalls installed\n```\n```c#\npublic static string FWInfo()\t// Returns string with all the antivirus installed on the system\n```\n\n## Extensions\n\n```c#\nusing Guiosoft.Extensions;\n```\n\n### Numbers\n```c#\n(double, decimal).ToSQL()\t// Returns string representation of value to use in SQL expression\n```\n```c#\n(double, decimal).IsZero(int decimals = 2)\t// Returns if a value is pratical zero \n```\n```c#\n(double, decimal).IsEqual(another, int decimals = 2)\t// Returns if a value is pratical zero \n```\n\n\n### DateTime\n```c#\nDateTime.ToSQL()\t// Returns string representation of value to use in SQL expression\n```\n\n### String\n```c#\npublic static string Replace(this string str, string[] searched, string[] replaced, StringComparison comparisonType = StringComparison.CurrentCulture, int limitByElements = 256)\t// Replaces contents in string, searching by values in array\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguionardo%2Fcsharp_utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguionardo%2Fcsharp_utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguionardo%2Fcsharp_utils/lists"}