Parental control or web filter with c# [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
It is possible that such a program written with C #?
if yes how we can?
If you have links or information on this I say thank you.

I'd say you'd probably be looking at setting up a proxy on your local network, pointing the machines you want parental control on to that proxy, and filtering the "allowed" traffic by either:
Checking website address against a predefined blocklist,
and/or
Reading through the HTML looking for naughty words or phrases.
How to create a simple proxy in C#? has a fair bit of detail about setting up a proxy in C#.
Also found http://www.codeproject.com/Articles/92512/Writing-a-Parental-Control-Software-for-Windows. An old project but might be worth looking at if you're researching a project like this.

Related

How to stop Google Chrome from placing a forward slash when searching for c# related questions? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I am wondering if there is a way to stop Google Chrome from adding a forward slash by default when I am searching for c# related queries. For example if I type:
"c# how to"
as a search term in the search bar it will default the search to:
"c/# how to" which returns an error.
This happens every time I start a search term with c# so I am wondering if anyone knows how to stop this from happening? Thanks.
This is a known bug in Chrome that has been fixed in a recent update (Nov 4 2014) but won't be pushed out until the next minor release (which could be a month or two). You can switch to the Dev channel of Chrome and pick up the update now.
See https://code.google.com/p/chromium/issues/detail?id=409845 for more details.

Is possible to request a iphone/Ipod/Ipad coordinates from server code? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Exists a way of request a device for his coordinates from the server code (Ex: C# .NET)?
Your question is unclear. You need to clarify on what platform you want. Perhaps you are getting things mixed up.
Do you really mean to run a server on an iPhone using C# code?!? I don't know anyone who's coded a webserver for an iPhone in C#, if that's what you really mean. (But it is possible for someone or a team to do this.)
But more likely you mean you want a C# webpage, running on a webserver to get a client's device coordinates, where the client device is an iPhone. But in this case, I don't believe C# has much to do with it, because this would be the webpage which would do the request, which would be HTML and JavaScript, not C#.
i think what Edward means is "No". :P

YouTube Data API (.NET) Code Samples Do Not Work [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I am trying to set up and run the YouTube Data API (.NET) code samples (my_uploads class, in particular) in the Visual Studio 2010, however, I am constantly facing errors.
Apparently, the code itself already contains such mistakes like misspelled references, e.g., using Google.Apis.Youtube.v3; (should be YouTube not Youtube) and outdated methods like Fetch() (alternative is Execute()).
It is also missing lots of libraries even though I followed the getting started guides very closely:
https://code.google.com/p/google-api-dotnet-client/wiki/GettingStarted
https://developers.google.com/api-client-library/dotnet/apis/youtube/v3
Nevertheless, the main problem I am facing is related to authentication and authorisation (I think) and I do not know how to fix it.
Every time I try to run the console application and enter the right credentials, it throws me an error: Precondition failed.: !string.IsNullOrEmpty(authorization.RefreshToken).
Thanks.

Send C# App Via Email [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I need to send my C# app in an email for a job interview exercise. It says to save the exercise as a zip file and email it. I would have thought they wanted to see the code, but just looking now, it looks like the only way to do this is to zip the .exe file and send it. The code will not be visible to them? Any way to show the code? Add my .cs file to the email?
Why don't you just zip the whole project directory? That will include your code files and your compiled .exe file. It will also include the solution or project from Visual Studio so they can open it on their end.
You may still need to change the extension of you executable file to something like .exe1 before zipping, otherwise the email service might not let it through.

how to translate public event from c# to vb.net [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
i have following code in a c# class and would need its vb.net equivalent. All online translation tools i found translate this part wrong. A research on the web did not bring me any progress.
public event EventHandler<UploadProgressChangedLibArgs> UploadProgressChanged;
whatever I do I keep getting that uploadprogresschangedlibargs is not defined.
any help appreciated thanks
additional information:
http://sourceforge.net/projects/dotnetftplib/files/
this is the library i am trying to translate
The problem is exactly what the compiler said: the UploadProgressChangedLibArgs type couldn't be found. That's another type within the same library - so you need to port that before you can port an event which uses it.
As noted in comments, I'd advise you to avoid porting C# to VB or vice versa unless you really need to. One of the benefits of .NET is that you can call C# from VB or vice versa - and if you just want to make minor changes to an existing code base, you don't need to port the whole thing - you just need to understand enough of the language it's written in to make that change.

Categories