|
Please do not post the same thing in multiple places - it wastes time and annoys people.
You already have this is QA - so pick one and stick to it!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
.
modified 28-Jan-19 5:54am.
|
|
|
|
|
string filesToDelete = @"roremove.doc";
string[] fileList = System.IO.Directory.GetFiles(rootFolder, filesToDelete);
foreach(string file in fileList)
Here rootFolder is the path of the directory where you have all the files listed.
|
|
|
|
|
|
Message Closed
modified 28-Jan-19 5:55am.
|
|
|
|
|
My message was about the fact that you posted your question first in the "quick answers"-forum of this website and then in this forum. And that's not so nice because what if someone sees your second post and makes an effort to answer it while you already got an answer to the first post? You would have wasted his time.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
Hi,
Below is my code snippet.
postdata = "{\"Id\":\"100\"}"; // Example postdata
var Data = CheckPostData(postdata) ? serializer.Deserialize<dynamic>(postdata) : null;
if(postDataFilter.ContainsKey("test")) //Getting error in this line as per log. But i am unable to replicate the issue.
{
}
Please let me know how to replicate the issue and fix it.
Thanks,
|
|
|
|
|
The exception is telling you that postDataFilter is a string, not some form of Dictionary. As you don't show the definition of postDataFilter, we can't help any more I'm afraid.
|
|
|
|
|
Sorry pls go through the below code.
postdata = "{\"Id\":\"100\"}"; // Example postdata
var Data = CheckPostData(postdata) ? serializer.Deserialize<dynamic>(postdata) : null;
if(Data.ContainsKey("test")) //Getting error in this line as per log. But i am unable to replicate the issue. This issue is not occuring for all. I am not sure when the deserialization returns string.
{
}
|
|
|
|
|
Hi,
I'm going to use TURN Server to implement Video Chating in .NET Windows form application.
But I couldn't connect to TURN Server.
Please help me,
Thanks.
|
|
|
|
|
Help you with what? You haven't shown any code or indicated what errors/exceptions you are getting.
|
|
|
|
|
Sorry, but I don't know how to start.
Is there any source that works?
|
|
|
|
|
Member 11612662 wrote: Sorry, but I don't know how to start.
But you said
Member 11612662 wrote: But I couldn't connect to TURN Server. So presumably you have started this - so you will have code that tries and fails.
We need to see the code, and know how it fails.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
If you don't start you also can't connect
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
I setup TURN server in CentOS server.
Then I'm going to connect to TURN Server in C# Windows Application.
I want to know how to send and receive media data using TURN Server in C# Windows Application.
|
|
|
|
|
Do you already have a working video chat without TURN ?
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
I think, without TURN/STUN server, we cann't TCP communicate in Internet.
I implemented video chat in local network.
|
|
|
|
|
Alright - I just wanted to know if you're not trying to do the second step before the first one
Please understand that it happens extremely often that people post questions here before even attempting to solve the problem themselves or by asking Google. That's why we're here a bit sensitive to questions where nothing is being said about what has already been tried. In your case, I think I can understand it now though. I just spend two hours or so searching for something along the lines of C# TURN client but found nothing except commercial solutions. However, I found a link to a Google Group for an open source TURN Server project. I would suggest you to ask there; if I were searching for this, it would be my next step.
https://code.google.com/p/rfc5766-turn-server/[^]
https://groups.google.com/forum/#!forum/turn-server-project-rfc5766-turn-server[^]
Good luck!
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
A simple Google search found this[^]. If you don't know how to start something, you should try doing some research using sources such as Google to find things.
|
|
|
|
|
Thanks,
I alreay execute STUN client sample.
I think, I can get public IP address with STUN server.
I want to send and receive viedo and audio through TURN server.
I setup TURN server in server, but I don't know how to send and receive media data through TURN server.
|
|
|
|
|
|
Hi i need to test a connection for SAP Netweaver and Microsoft SharePointList data bases with connection strings like in Microsoft SSRS data source creation. Please share your suggestions !
|
|
|
|
|
If you're looking for connection string reference details, I highly recommend this site[^].
|
|
|
|
|
|
There are two issues with your question.
The first one is that this forum is intended to provide answers to specific programming questions. Requesting code isn't one.
The second one is that you either didn't provide enough information about what you're trying to accomplish or don't have a clear idea yourself of what you're trying to do. Where do you want to process that "string in a textbox of a website"? In the browser? Then you would have to look into Silverlight. Or in your server application? Then you can't do it with C# alone. You would either have to have a HTML-form that gets posted to your server application or a JavaScript-Ajax function that performs an Ajax-request. Would your server application be ASP.NET or something else? As you didn't specify all this, we couldn't "give you the code" even if we wanted.
So, please, first think about what you're really trying to accomplish, then make yourself familiar with the required technologies for which you will most certainly find tons of tutorials and examples on this website, then try to do it yourself. If you get stuck, try to find an answer with Google because in most cases there will already be an answer in some forum and thus it will be the quickest way for you and not wasted time for you and us. If you can't find an answer, come back here and ask - while providing enough information to allow someone who is not you to understand what you're trying to do and where exactly the problem is.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|