ClamAV在CSharp的使用
ClamAV简介 ClamAV 是服务器安全领域的“瑞士军刀”,尤其适合作为邮件网关的扫描引擎或自动化扫描工具。虽不适用于日常PC的实时防护(需配合商业杀软),但其开源属性、低资源消耗和高度定制化能力,使其在运维开发、企业服务器防护中占据重要地位。 官网地址 https://www.clamav.net/ 源码包下载地址 https://www.clamav.net/downloads 官网文档手册地址 https://docs.clamav.net/ github地址 https://github.com/Cisco-Talos/clamav 项目结构 The full list of packages includes: clamav - command-line interface clamav-base - base package clamav-daemon - scanner daemon clamav-docs - documentation clamav-freshclam - virus database update...
圆环形进度条
用户控件 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171public class CircularProgressBar : UserControl { private Border...
讲述人工具类
SpeechSynthesizer 类 定义 命名空间:System.Speech.Synthesis 程序集:System.Speech.dll 包:System.Speech v9.0.0-rc.1.24431.7 Source:SpeechSynthesizer.cs 示例 12345678910111213141516171819202122232425using System;using System.Speech.Synthesis;namespace SampleSynthesis{ class Program { static void Main(string[] args) { // Initialize a new instance of the SpeechSynthesizer. SpeechSynthesizer synth = new SpeechSynthesizer(); // Configure the audio output. ...
触控滚动条样式
触控滚动条 WPF自带的ScrollViewer不支持在触控设备上进行下滑(上滑)滚动,所以得添加自定义控件 搭配滚动条样式使用更佳 代码 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172public class TouchableScrollViewer : ScrollViewer{ //触摸点的坐标 Point _startPosition; //滚动条当前位置 double _startVerticalOffset; double _startHorizontalOffset; #region 依赖属性 public bool IsNoTouch { get { return (bool)GetValue(IsNoTouchProperty); } ...
滚动条样式
...