How to see my app users are from where? - c#

development of my app has finished, but I want to have general information about my app users.
How can I know they are from which Store/country? store/country-specific downloads
How can I know which languages they are using for focusing on it more.
Will such these informations appear on the dev center or I should have my own server for receiving these information?
Which codes I need, where can I start?
I know I can use device location, but I don't want to use this option
(sorry I couldn't find anything useful by searching)
Update I don't want these informations locally (providing it to the user himself) But I want to know who are my users after sending it to the store.

How can I know they are from which Store/country? store/country-specific downloads
That information is already available in the Store statistics
How can I know which languages they are using for focusing on it more.
Read the Thread.CurrentCulture and Thread.CurrentUICulture , if you want to know what local language/culture the user is user.
The store is bound to the country specified for the users live account.

Related

How to capture an event from a UI (web) when I don't have access to the source code

So, here's the use case. I work for Salesforce Marketing Cloud as a technology architect. We have a very robust "Marketing Cloud" app which I don't do any development on. I don't have access to source code/etc. I do have access to the application though, as a user.
Quick 2 sentence overview of the application: big companies like "Company A" utilize our software to be able to send billions of emails (promotional and transactional) to their customers. So, say you get an email from "Company A" telling you of all the great products they offer - that email is sent from our system.
So, the use case: the Marketing Cloud application, for simplicity's sake, is able to create an email from HTML. Basically, the user (myself) can copy/paste HTML into the huge text field, and click Save, and the email code is saved into the back end (SQL Server table). This application does not have any kind of source control to manage the different versions of the "email" that the user decides to create/change/modify.
Now, I have access to develop a customized "whatever" via C#/SSJS that has access to all of the elements in the database that the application writes to. So, if I wanted to grab the latest version of an "email" saved by a user, I can simply write a SQL query to grab this content.
Here's my goal: To create a very simple version control system without getting into the source code of the application. Ambitious, I know. I have all the different pieces of this mapped out in a document, but the one obstacle I'm running into is "how can I capture the 'save' event for when a user clicks 'save' and saves an email"? I believe this is a client side event, but I'm not 100% sure. My initial thought is to write a browser extension, but not knowing exactly what browser extensions have the capability of doing, I'm not sure if this is a good route to take. How can I capture an event from a UI from a web based application when I don't have access to the source code?

How can I Identify unique users on my website even IP is changed or browser data has been cleared?

I am developing a video streaming website. I want to count unique views on each video. I referred to some sites on internet and even asked some other programmers. They say either use cookies or session or IP address. But these things changes over time. Also if possible can we do this using MAC address of the user's machine? Also I came across a similar question here -> http://bit.ly/Qh1KNR. They say there is something like browser fingerprint that uses MAC address. So can you tell me what method is the best one?
Yes, all those attributes can change and there is no certain way to detect whether the same person has watched the video twice. Someone can watch it once in school and another time at home with different browsers and IP addresses.
You best bet is probably with IP-addresses, counting some people twice and skipping some people (because of NAT enabled routers).
Another way is to only allow registered users to watch videos and record what they have seen.
You can not track a user with fingerprint. What fingerprint does is to collect some information about the operating system, time zone, fonts installed, plugins,... In some cases may work, but is not 100% true. In some eviroments (like schools, universities, etc) the operating system, browsers and almost all configuration may be the same and it is imposible for you to track an user.
You can use Evercookie concept which stores cookie data on different storage location . If user clear browsing history or cookies , it will restore it cookies from different storage location . There is one drawback user must on javascript to create evercookie.
You could go deeper than just an IP address.
If this is just for tracking usage and not authentication then you can store an initial fingerprint of a user's browser based upon:
Using a plugin like: https://github.com/carlo/jquery-browser-fingerprint
Plugins Installed & their versions
Screen Size
Operating System (Version)
You get the point. As the likelyhood of two users having the exact same resolution, plugins (versions included), operating system (patches etc) is relatively slim.
Why dont you store GUID along with some other parameter in cookies along with some MAC address of finger prints that will give you some control over the data to figure out the uniqueness

Windows application storage location

I am working on a windows app. The user has to register first to use this application. So in order to store user information, I am using MS-Access as a database. There is not much information to be stored as this application will be on individuals machine. There are few settings and some user information to be stored.
What I am feeling is that with the use of MS-Access, my application will be dependent on other application as MS-Access. It is not necessary to have the MS-office on the end user's machine.
So can you suggest me the best way to store the data safely without any dependence.
One thing I want to clear is that, the information will be of different types like it will consists of user information, some folder/files paths and some other information. I would like to keep these information separate from each other.
Thanks
Abhie
I think I found the solution.
Best practice to save application settings in a Windows Forms Application
I hope this will help others facing same problem.
Stackoverflow Team You are doing fabulous job. One suggestion; can you put some chat option for developers to discuss their problems. I think this would make it more easy to find answers to complex problems...:)
Regards
you need to include Access Database Engine drivers in the client PC, in order to connect it .
MS Access Database Engine
If you're using .NET, the best bet for getting the recommended folder locations for application data (e.g. your mdb file) is probably best retrieved using Environment.GetFolderPath
See:
http://msdn.microsoft.com/en-us/library/system.environment.getfolderpath.aspx
You're likely interested in ApplicationData or LocalApplicationData for user specific data or CommonApplicationData for data shared by all users as your storage location (and then the proper company / product subdirectories appended to it).

interrogate the Data in Lync 2010?

I developed a seat plan website - it uses the Lync SDK to pull back user details - (i.e. when a name is clicked on the map it passes the name into the Search box and then lists the person in the results list and then you can start an instant conversation, etc).
I want to possibly expand upon this now and I was wondereing does anyone know if its possible/have any URLS, source code that would allow me to pull back the status of all the people in the office from there Lync status (i.e. available/busy,etc).
Also the other information stored about the person withing Lync - the Office/Mobile/Calendar details - is it possible to pull this off to be used?
If you want to see "real" presence of a user, and recieve realtime updates to that presence, then you need to add the user as contacts in Lync. I'm guessing in your scenario that's not ideal (or even possible) so you'll need to search for contacts, and then query for their presence.
This article should get you started with searching for a contact
Have you looked at the Lync 2010 SDK? I would think that's the place to start...

Get logged in user details in sharepoint c# webpart

After much wrangling I have a development environment for building sharepoint webparts in c#.
I'm completely new to SP development, so I haven't quite found the various API docs, so I'm hoping someone can help get me started.
Eventually, I want to write a simple web part that allows its user to display different content depending on who the current user is.
What I'd like to do first though is just build a dead simple webpart that will simply print out the current user's details - username, full name and any permissions groups that they have.
Thanks
SPContext.Current.Web.CurrentUser

Categories