Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 10th, 2012  |  syntax: None  |  size: 0.29 KB  |  hits: 4  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Store path to directory in C# library
  2. var base_data_folder = Environment.GetSpecialFolder(SpecialFolder.CommonApplicationData);
  3. var data_folder = Path.Combine(base_data_folder,"MyApplication");
  4. var images_folder = Path.Combine(data_folder,"Images");
  5.        
  6. C:ProgramDataMyApplicationImages