访问AttachmentService或替代方案 [英] Accessing AttachmentService or an alternative
问题描述
我正在使用C#创建一个.Net Windows服务来充当聊天机器人。这个聊天机器人将允许我保存文件以供日后使用。我不想盲目信任我的文件系统上的这些文件。我希望我可以直接使用MS.Internal.Security
命名空间中的AttachmentService,但是它的内部范围(应该由命名空间猜测)。
I am creating a .Net Windows Service using C# to act as a chat bot. This chat bot will allow me to save files for later. I don't want to blindly trust these files on my file system. I was hoping I could directly use the AttachmentService from the MS.Internal.Security namespace, but its internal scoped (should of guessed by the namespace).
是否有任何类我可以访问使用此服务或使用IAttachmentExecute接口吗?
Is there any class I can access to use this service or that uses the IAttachmentExecute interface?
推荐答案
您好cjc _,
Hi cjc_,
感谢您在此发帖。
对于您的问题,我不太了解AttachmentService。也许您可以尝试Bot框架。
For your question, I do not know AttachmentService well. Maybe you could try Bot framework.
您可以从以下链接下载源文件以供参考。
You could download the source file from the link below for reference.
最好的问候,
Wendy
这篇关于访问AttachmentService或替代方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!