Questions tagged [application-data]

54 questions
0
votes
3 answers

create unique Application Data directory for each instance of an application

I have written a c# application that it is installed as many instances, on different directories defined by the user. e.g. C:\Program Files(x86)\MyApp1 C:\Program Files(x86)\MyApp2 C:\MyApp1 C:\MyApp2 ... I want to write/read data files in…
0
votes
1 answer

UWP C# Saving DeviceInformation to ApplicationData

I am trying to save device information in my application. I managed to save as string to ApplicationData.Current.RoamingSettings but unable to save as deviceinformation which I need to use to enumerate my device when the app starts. I am not sure…
mylim
  • 313
  • 4
  • 16
0
votes
1 answer

Where to save application data in windows?

I am trying to make a windows application. In this application, some files get modified as a user add or delete an entry. I saved these files on the application folder itself. But After making binary file I installed it, As I try to add a entry it…
0
votes
3 answers

How to preserve variable value between application starts in ASP.Net Core MVC?

I have an ASP.NET Core MVC application that might be restarted from time to time (maintenance); how can make some variable values persistent from an execution to the next? PS: That's the code that needs to write value as persistent. For example…
0
votes
2 answers

NodeJs - How to get Windows ProgramData directory in NodeJs

I need to write some files into folder, that can be access any local user and can be modified by any user. So I decided to use Windows ProgramData folder. I found following details from a article. There’s also the ProgramData folder. This folder…
0
votes
0 answers

WebSocket Connection failed with socketerror

Client initiated the websocket connection TLS handshake is passed and Application data layer has started . I Can see first application data is sent from client to server and the respective Ack and then from server to client and respective Ack. Then…
0
votes
1 answer

How to get the path to a file in the Local App Data folder created by ClickOnce

I have a WPF project that I want to deploy via clickonce. I have a folder named "Data" with some files in it which will be created by clickonce in Local App Data folder when I install the application. I want to access those files but I am unable to…
0
votes
0 answers

Is it possible to arrive a client hello or server hello or certificate message after an application data?

Recently I read some articles about SSL protocol, and analyze some SSL packets in wireshark. As far as I understood, after an APPLICATION DATA message, we shouldn't see any client hello ro server hello or certificate message. I wrote a code to…
Saeed
  • 159
  • 3
  • 13
0
votes
1 answer

How can I use LocalSettings (UWP) in my ViewModel class?

So I want to use LocalSettings (for UWP) inside my ViewModel class (so that I can persist data between views) but I keep getting this error in this screenshot: However, I try to add a reference to the assembly but nothing happens. My ViewModel…
Euridice01
  • 2,510
  • 11
  • 44
  • 76
0
votes
1 answer

c++ how to get %AppData% path under non-administrator account and running VS2013 as Administrator

I know there are plenty of similar questions out there like this one how to get %AppData% path But mine is different: 1.I have two account: Admin- Administrator account Test- Non-Administrator account 2.Run my project using VS2013 as a…
0
votes
1 answer

List application data folder for multiple users powershell

We are having issue with folder redirection and want to split this up among two servers instead of one. One of the folders we are redirecting is the Application Data folder. We want to enumerate this folder for each user so we can decide how big the…
ubernewb
  • 1
  • 1
0
votes
1 answer

WP 8.1 Downloading a file and saving it

I'm developing a Windows Phone 8.1 (non silverlight) project and i'm very new to the platform. I'm having a really hard time trying to access a pdf file from the web and saving it to the phone. First, i searched for how to display the pdf file…
0
votes
2 answers

How to Set Background Image from IsolatedStorage

I am loading a BitmapImage from IsolatedStorage and would like to set the value to the background of MainPage. I am not sure how to properly do this? TombstoningHelper.cs public async Task StorePhoto(Stream photoStream, string fileName) { …
Matthew
  • 3,976
  • 15
  • 66
  • 130
0
votes
1 answer

What saved in Android app "Data" under Storage?

My app uses Fragments, SQLite Database, SharedPreferences and SavedInstanceState to keep the state. The problem is that the Data size does not stop increasing (about 100-300kB) on each Fragment launch. I can not count on Clear Data as long as it…
0
votes
1 answer

Delete Many Files In Application Data Folder

I'm trying to delete 3 files (file1.sol file2.sol file3.sol) from the Application Data folder. My code words just fine with one file, but how can I make it delete the three files? Here is my code: Private Sub Button6_Click(sender As Object, e As…
user3500069
  • 3
  • 1
  • 3