Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I need to access iTunes data (playlists, songs etc.) in a C# application, but without using the COM interface available from Apple..
The problem i have is that the iTunes COM interface requires the iTunes process to be running. I would like to avoid that and make my application work even if iTunes process is shutdown.
I need only read-only access to GET some simple data from the iTunes database and not any kind of real-time control and similar.
Is there a way to suppress the iTunes process from starting automatically when i use the COM objects or is there an alternative to the COM interface?
I see that for apple developers it is normal to access an XML file, and they just recently got access to a "Library Framework"
https://developer.apple.com/library/mac/documentation/iTunesLibrary/Reference/iTunesLibraryFrameworkReference/_index.html
I could probably access the same XML file in windows.. is that the only alternative approach? or is there something more elegant?
The solution is definitely to use the XML file since i have found other software that does the same.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I'm developing a C# application that needs to be able to tell iTunes to open a .m4v file on Windows. Is this possible? I've tried on Command Prompt to do this but it just opened iTunes without opening the movie. Is there any iTunes command line arguments or am I out of luck?
Edit: Also, once the movie is launched, is it possible to control it, such as playing, pausing, or closing it?
Your best bet might be iTunes COM object (How to control iTunes through winForms)
but I'm not sure if it's going to support action such as loading file into an iTunes, but if you are about to control it like play/pause, fast forward, rewind etc. then this is what you should looking at.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I work for a small Point of Sale Company, and we are working on a in-house tool to make our lives easier when it comes to ticketing and troubleshooting. Part of my task in this tool is to write a 'softphone' in C# WPF that we can use to accept incoming and make ongoing calls with.
We currently use OnSIP as our SIP provider, and are looking to build custom software to essentially allow us to auto-generate support tickets based on the phone number of the incoming call. In addition we will need call transferring, recording, hold/wait, etc.
The question that seems to be causing me the most trouble is really where to begin on something like this. Thoughts?
I'm presuming this is a desktop application?
Lookup pjsip.org, it's a portable C library which is very well proven. It will allow you to do all that you are asking, although it'll take you some time to write the wrapper code - you can find examples on the internet, however we have written a wrapper ourselves which I'll check on as we had intended open sourcing it. This is because when we did this last year, the examples just didn't work too well :-)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am a novice software developer and I am building desktop applications using C#. I want to make my applications expire and generate a license file to activate the application after it expires. Meaning I want to include a time bomb to all my applications and detonate it by using the generated license file.
There are many ways to achieve this - the .NET-Way is described here in this MSDN-Article:
How to: License Components and Controls
If you are developing a windows 8 app and you want to find out a way to create a trial version of your app then I think the following article does a pretty good job of explaining how to do it.
http://msdn.microsoft.com/en-us/library/windows/apps/hh694065.aspx
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
my .net app needs to store some persistent data and since it is possible that it runs in an environment where it cant write to disk, i would like to use the registry for it.
are there any conventions about the path where an application is writing to?
are there any tools or libraries that make reading and writing the registry from .net more convenient? i need to mostly write simple datatypes and datastructures like lists.
any other best practices or tips & tricks that should be know when working with the registry?
Writing to the registry is a little frowned on nowadays, however if you must:
Put settings for the current user in: HKEY_CURRENT_USER\Software\Your Company\Your App
Put settings for all users in: HKEY_LOCAL_MACHINE\Software\Your Company\Your App
Use the Registry class in the .NET framework to read and write registry keys and values:
http://msdn.microsoft.com/en-us/library/microsoft.win32.registry(v=vs.110).aspx
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm working with some code in Visual Studio. My parter-in-crime fellow developer has suggested that the code also be available to work under Mono. I'm impresed witht he work that is already done in Mono, but I'm very new to Mono, so I don't know what it can/cannot do.
I've already written a class in C# using the .NET LicenseManager object. It writes to the windows registry, so I know I'll have to modify it so that it will use some compiler flags like #if Win32 or #if MONO.
My question is two-fold:
1) Does Mono implement the same LicenseManager class structure?
2) If so, how do you guys lock down your code using LicenseManager in Linux? (i.e. Write to files, use a hardware dongle, compare to hardware serials, etc??)
http://www.mono-project.com/MoMA will show you areas not supported
the current state of mono's implementation at the time I write this indicates it has more than just 'TODO' status but you would have to give it a try for your scenario.