Anyone successfully using this in c# or is there a better alternative to this? Also any good working project that I can look at and get a good feel? most projects i have come across is in C++ and was looking for a C# project
Asked
Active
Viewed 7,221 times
2 Answers
12
Yes, we're using it in a tool to let customers upload logs, dumps, etc. to our customer support department. You could use it directly via PInvoke/COMInterop, but I suggest to have a look at SharpBITS.NET, which wraps the BITS interface nicely.

Martin
- 911
- 5
- 7
-
Hey Martin, I would appreciate if you could you put any comments on this question http://stackoverflow.com/questions/1830811/using-clickonce-deployment-with-background-intelligent-transfer-service. – theraneman Dec 02 '09 at 06:37
-
1I know that this is a very old thread but was wondering if there are any alternatives to SharpBITS as it looks to be dead and was last updated in 2011 – Zaid Amir Apr 02 '14 at 14:44
-
Try the [Windows.Bits](https://www.nuget.org/packages/Windows.Bits/) NuGet package. It looks to be the most alive. – Reid Rankin Jan 22 '16 at 04:45
2
I'm the PM for the BITS team at Microsoft -- and we have a new learn.microsoft.com page that talks about using BITS and C#, plus a brand-new C#/WPF sample on GitHub.

PESMITH_MSFT
- 350
- 1
- 9
-
We have an implementation that uses ComImport as I believe the old documentation specified. Is there a benefit to using MIDL and TLBIMP? Currently we have an [issue](https://stackoverflow.com/questions/59457118/bits-an-error-occurred-in-the-secure-channel-support) with BITS/WinHttp on Windows 7 defaulting to TLS 1.0, which only seems to be fixable by a registry change - one that I cannot force on my customer computers. – Tore Østergaard Jan 20 '20 at 13:05