Add session to cache with both hostname and address.
[cyberduck.git] / source / ch / cyberduck / core / preferences / AssemblyApplicationResourcesFinder.cs
blobceda23057b4080008a2b458ad47b4f14836fe621
1 //
2 // Copyright (c) 2010-2014 Yves Langisch. All rights reserved.
3 // http://cyberduck.ch/
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 2 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // Bug fixes, suggestions and comments should be sent to:
16 // yves@cyberduck.ch
19 using System;
20 using System.Reflection;
21 using ch.cyberduck.core;
22 using ch.cyberduck.core.preferences;
23 using Path = System.IO.Path;
25 namespace Ch.Cyberduck.Core.Preferences
27 public class AssemblyApplicationResourcesFinder : ApplicationResourcesFinder
29 public ch.cyberduck.core.Local find()
31 return LocalFactory.get(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location));