summaryrefslogtreecommitdiff
path: root/IvyToDel
diff options
context:
space:
mode:
authorfcolin2007-02-01 12:07:02 +0000
committerfcolin2007-02-01 12:07:02 +0000
commitcbf0054b86c62894dd49d4465ace40b69b3b8df0 (patch)
treebe90d10f4ab0ae0288fce60b3ad704cd83de1f3d /IvyToDel
parentc7e59ff47d5162223042c6a2aeb5f168783b107e (diff)
downloadivy-csharp-cbf0054b86c62894dd49d4465ace40b69b3b8df0.zip
ivy-csharp-cbf0054b86c62894dd49d4465ace40b69b3b8df0.tar.gz
ivy-csharp-cbf0054b86c62894dd49d4465ace40b69b3b8df0.tar.bz2
ivy-csharp-cbf0054b86c62894dd49d4465ace40b69b3b8df0.tar.xz
modification structure svn
Diffstat (limited to 'IvyToDel')
-rw-r--r--IvyToDel/IvyProbeConsole/App.icobin1078 -> 0 bytes
-rw-r--r--IvyToDel/IvyProbeConsole/IvyProbeConsole.cs373
-rw-r--r--IvyToDel/IvyProbeConsole/IvyProbeConsole.csproj158
-rw-r--r--IvyToDel/IvyProbeConsole/IvyProbeConsole.csproj.vspscc10
-rw-r--r--IvyToDel/IvyProbeConsole/IvyProbe_TemporaryKey.pfxbin1676 -> 0 bytes
-rw-r--r--IvyToDel/IvyProbeConsole/Properties/AssemblyInfo.cs59
-rw-r--r--IvyToDel/IvyProbeConsole/Properties/Settings.Designer.cs71
-rw-r--r--IvyToDel/IvyProbeConsole/Properties/Settings.settings21
-rw-r--r--IvyToDel/IvyProbeConsole/Properties/app.manifest11
-rw-r--r--IvyToDel/IvyProbeConsole/Settings.cs28
-rw-r--r--IvyToDel/IvyProbeConsole/app.config27
11 files changed, 0 insertions, 758 deletions
diff --git a/IvyToDel/IvyProbeConsole/App.ico b/IvyToDel/IvyProbeConsole/App.ico
deleted file mode 100644
index 3a5525f..0000000
--- a/IvyToDel/IvyProbeConsole/App.ico
+++ /dev/null
Binary files differ
diff --git a/IvyToDel/IvyProbeConsole/IvyProbeConsole.cs b/IvyToDel/IvyProbeConsole/IvyProbeConsole.cs
deleted file mode 100644
index 516d702..0000000
--- a/IvyToDel/IvyProbeConsole/IvyProbeConsole.cs
+++ /dev/null
@@ -1,373 +0,0 @@
-/// François-Régis Colin
-/// http://www.tls.cena.fr/products/ivy/
-/// *
-/// (C) CENA
-/// *
-namespace IvyProbeConsole
-{
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using System.Threading;
- using System.Text.RegularExpressions;
- using System.IO;
- using System.Configuration;
- using System.Diagnostics;
- using IvyBus;
- using Gnu;
-
- /// <summary> Console implementation of the ivyprobe test program.
- /// </summary>
- /// <remarks>Mainly used for testing and debugging purpose</remarks>
- public class IvyProbeConsole
- {
- public virtual bool ExitOnDie
- {
- set
- {
- exitOnDie = value;
- }
-
- }
- public void BindFromFile(string name)
- {
- string line;
- try
- {
- FileStream file = new FileStream(name, FileMode.Open, FileAccess.Read);
- TextReader reader = new StreamReader(file);
- while ((line = reader.ReadLine()) != null)
- {
- bus.BindMsg(line, receive);
- }
- }
- catch (FileNotFoundException e)
- {
- Console.WriteLine(e.Message);
- }
- }
- public const string helpCommands =
- "Available commands:\n"+
- ".die CLIENTNAME sends a die message\n" +
- ".direct CLIENTNAME ID MESSAGE sends the direct message to the client, with a message id set to the numerical ID\n" +
- ".bye quits the application\n" +
- ".quit idem\n" +
- ".list lists the available clients\n" +
- ".ping sends a ping request if IVY_PING is enabled\n" +
- ".bind REGEXP binds to a regexp at runtime\n" +
- ".unbind REGEXP unbinds to a regexp at runtime";
-
- public const String helpmsg =
- "usage: IvyProbe [options] [regexp]\n" +
- "\t-b BUS\tspecifies the Ivy bus domain\n" +
- "\t-n ivyname (default JPROBE)\n" +
- "\t-q\tquiet, no tty output\n" +
- "\t-d\tdebug\n" +
- "\t-t\ttime stamp each message\n" +
- "\t-h\thelp\n\n" +
- "\t regexp is a Perl5 compatible regular expression";
-
- private TextReader in_Renamed;
- private volatile Thread looperThread;
- private Ivy bus;
- private bool timestamp, quiet, debug, exitOnDie = false;
- enum Command {
- direct,
- die,
- unbind,
- bind,
- ping,
- quit,
- bye,
- list,
- help};
- const string reg_parse =
- @"^\.(?<cmd>direct) (?<target>[^ ]*) (?<id>[0-9]+) (?<message>.*)$|" +
- @"^\.(?<cmd>die) (?<target>.*)$|" +
- @"^\.(?<cmd>unbind) (?<target>.*)$|" +
- @"^\.(?<cmd>bind) (?<target>.*)$|" +
- @"^\.(?<cmd>ping) (?<target>.*)$|" +
- @"^\.(?<cmd>quit)$|" +
- @"^\.(?<cmd>bye)$|" +
- @"^\.(?<cmd>list)$|" +
- @"^\.(?<cmd>help)$|";
- private Regex cmd_regexp;
-
- [STAThread]
- public static void Main(String[] args)
- {
- string name = "C#PROBE";
- string fname = null;
- bool quiet = false;
- bool timestamp = false;
- string domain = Ivy.GetDomain(null);
- bool debug = false;
-
- domain = Properties.Settings.Default.domain;
- name = Properties.Settings.Default.name;
- quiet = Properties.Settings.Default.quiet;
- timestamp = Properties.Settings.Default.timestamp;
- debug = Properties.Settings.Default.IvyDebug;
-
-
- GetOpt opt = new GetOpt(args, "f:n:b:dqht");
- Arg a;
- while ((a = opt.NextArg()) != null)
- {
- switch (a.Flag)
- {
- case 'd':
- debug = true;
- break;
-
- case 'b':
- domain = a.Parameter;
- break;
-
- case 'n':
- name = a.Parameter;
- break;
- case 'f':
- fname = a.Parameter;
- break;
-
- case 'q':
- quiet = true;
- break;
-
- case 't':
- timestamp = true;
- break;
-
- case 'h': default:
- System.Console.Out.WriteLine(helpmsg);
- System.Environment.Exit(0);
- break;
-
- }
- }
-
-
- IvyProbeConsole p = new IvyProbeConsole(System.Console.In, timestamp, quiet, debug );
- p.ExitOnDie = true;
- Ivy bus = new Ivy(name, name + " ready");
- p.start(bus);
-
- if (fname != null)
- p.BindFromFile(fname);
-
- foreach(string ex in opt.Extras)
- {
- if (!quiet)
- System.Console.Out.WriteLine("you want to subscribe to " + ex);
- bus.BindMsg(ex, p.receive);
- }
-
- if (!quiet)
- System.Console.Out.WriteLine(Ivy.Domains(domain));
-
- bus.Start(domain);
-
- }
-
-
-
-
- public IvyProbeConsole(TextReader in_Renamed, bool timestamp, bool quiet, bool debug)
- {
- this.in_Renamed = in_Renamed;
- this.timestamp = timestamp;
- this.quiet = quiet;
- this.debug = debug;
- try
- {
- cmd_regexp = new Regex(reg_parse, RegexOptions.IgnoreCase);
- }
- catch (ArgumentException ree)
- {
- System.Console.Error.WriteLine("Regexp fatal error in the Probe program.");
- System.Console.Error.WriteLine(ree.StackTrace);
- System.Environment.Exit(0);
- }
- }
-
- public virtual void start(Ivy bus)
- {
- if (looperThread != null)
- throw new IvyException("Probe already started");
- this.bus = bus;
-
- bus.ClientConnected += connect;
- bus.ClientDisconnected += disconnect;
- bus.DieReceived += die ;
- bus.DirectMessageReceived += directMessage;
- bus.BindingAdd += new EventHandler<IvyEventArgs>(bus_BindingAdd);
- bus.BindingRemove += new EventHandler<IvyEventArgs>(bus_BindingRemove);
- bus.BindingFilter += new EventHandler<IvyEventArgs>(bus_BindingFilter);
-
- looperThread = new Thread(new ThreadStart(Run));
- looperThread.Name = "Keyboard Input Thread";
- looperThread.Start();
- }
-
- void bus_BindingFilter(object sender, IvyEventArgs e)
- {
- println("filtred regexp {0} from {1}", e.Argument, e.Client.ApplicationName);
- }
-
- void bus_BindingRemove(object sender, IvyEventArgs e)
- {
- println("Removed regexp {0} from {1}", e.Argument, e.Client.ApplicationName);
- }
-
- void bus_BindingAdd(object sender, IvyEventArgs e)
- {
- println("Added regexp {0} from {1}", e.Argument, e.Client.ApplicationName);
- }
-
-
- public void Run()
- {
- traceDebug("Thread started");
- Thread thisThread = Thread.CurrentThread;
- String s;
- // "infinite" loop on keyboard input
- while (looperThread == thisThread)
- {
- s = in_Renamed.ReadLine();
- if (s == null)
- break;
- if (s.Length == 0) continue;
- if ( s.StartsWith( ".") )
- parseCommand(s);
- else
- {
- println("-> Sent to " + bus.SendMsg(s) + " peers");
- }
- }
- println("End of input. Good bye !");
- bus.Stop();
- traceDebug("Probe Thread stopped");
- }
-
- internal void parseCommand(string s)
- {
- Match result;
- traceDebug("parsing the [" + s + "] (length " + s.Length + ") string");
-
- result = cmd_regexp.Match(s);
-
-
- if (result.Success)
- {
- string cmd = result.Groups["cmd"].Value;
- string target;
- try
- {
- Command TheCommand = (Command)Enum.Parse(typeof(Command), cmd);
-
- switch ( TheCommand )
- {
- case Command.direct:
- {
- target = result.Groups["target"].Value;
- ushort id = ushort.Parse(result.Groups["id"].Value);
- string message = result.Groups["message"].Value;
- List<IvyClient> v = bus.GetClientsByName(target);
- if (v.Count == 0)
- println("no Ivy client with the name \"" + target + "\"");
- for (int i = 0; i < v.Count; i++)
- v[i].SendDirectMsg(id, message);
- }
- break;
- case Command.die:
- target = result.Groups["target"].Value;
- if (bus.Die(target, ".die command") == 0)
- println("no Ivy client with the name \"" + target + "\"");
- break;
- case Command.unbind:
- target = result.Groups["target"].Value;
- if (bus.UnbindMsg(target))
- println("you want to unsubscribe to " + target);
- else
- println("you can't unsubscribe to " + target + ", your're not subscribed to it");
- break;
- case Command.bind:
- target = result.Groups["target"].Value;
- println("you want to subscribe to " + target);
- bus.BindMsg(target, receive);
- break;
- case Command.ping:
- target = result.Groups["target"].Value;
- if (bus.Ping(target, "test") == 0)
- println("no Ivy client with the name \"" + target + "\"");
- break;
- case Command.quit:
- case Command.bye:
- bus.Stop();
- System.Environment.Exit(0);
- break;
- case Command.list:
- println(bus.IvyClients.Count + " clients on the bus");
- foreach (IvyClient client in bus.IvyClients )
- println("-> " + client.ApplicationName);
- break;
- case Command.help:
- println(helpCommands);
- break;
- }
- }
- catch (ArgumentException)
- {
- Console.WriteLine("manque de la commande dans l'enum");
- }
- }
-
- }
- // parseCommand
-
- private void connect(object sender, IvyEventArgs e)
- {
- println(e.Client.ApplicationName + " connected from "+e.Client.RemoteAddress+":"+e.Client.RemotePort);
- }
-
- private void disconnect(object sender, IvyEventArgs e)
- {
- println(e.Client.ApplicationName + " disconnected ");
- }
-
- private void die(object sender, IvyDieEventArgs e)
- {
- println("received die msg from " + e.Client.ApplicationName + " good bye cause: "+e.Argument);
- /* I cannot stop the readLine(), because it is native code */
- if (exitOnDie)
- System.Environment.Exit(0);
- }
-
- private void directMessage(object sender, IvyEventArgs e)
- {
- println(e.Client.ApplicationName + " direct Message " + e.Id + e.Argument);
- }
-
- private void receive(object sender, IvyMessageEventArgs e)
- {
- String s = e.Client.ApplicationName + " sent ";
- s += string.Join(",", e.Arguments);
- println(s);
- }
- [Conditional("DEBUG")]
- private void traceDebug(String s)
- {
- Trace.WriteLineIf(debug, "-->Probe<-- " + s);
- }
- private void println(string format, params object[] args)
- {
- if (!quiet)
- {
- if (timestamp) System.Console.Out.Write(string.Format("[ {0|HH:mm:ss.fff} ]",System.DateTime.Now ));
- System.Console.Out.WriteLine(string.Format(format,args));
- }
- }
-
- }
-} \ No newline at end of file
diff --git a/IvyToDel/IvyProbeConsole/IvyProbeConsole.csproj b/IvyToDel/IvyProbeConsole/IvyProbeConsole.csproj
deleted file mode 100644
index 4551387..0000000
--- a/IvyToDel/IvyProbeConsole/IvyProbeConsole.csproj
+++ /dev/null
@@ -1,158 +0,0 @@
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <ProjectType>Local</ProjectType>
- <ProductVersion>8.0.50727</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{19023DE7-AAD8-4EC4-8FAF-D793868F8861}</ProjectGuid>
- <SccProjectName>SAK</SccProjectName>
- <SccLocalPath>SAK</SccLocalPath>
- <SccAuxPath>SAK</SccAuxPath>
- <SccProvider>SAK</SccProvider>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ApplicationIcon>App.ico</ApplicationIcon>
- <AssemblyKeyContainerName>
- </AssemblyKeyContainerName>
- <AssemblyName>IvyProbeConsole</AssemblyName>
- <AssemblyOriginatorKeyFile>
- </AssemblyOriginatorKeyFile>
- <DefaultClientScript>JScript</DefaultClientScript>
- <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
- <DefaultTargetSchema>IE50</DefaultTargetSchema>
- <DelaySign>false</DelaySign>
- <OutputType>Exe</OutputType>
- <RootNamespace>IvyProbeConsole</RootNamespace>
- <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
- <StartupObject>
- </StartupObject>
- <FileUpgradeFlags>
- </FileUpgradeFlags>
- <UpgradeBackupLocation>
- </UpgradeBackupLocation>
- <IsWebBootstrapper>true</IsWebBootstrapper>
- <ManifestCertificateThumbprint>85867DC3A6B10DFCF74BB49E782A1BC517B0086D</ManifestCertificateThumbprint>
- <ManifestKeyFile>IvyProbe_TemporaryKey.pfx</ManifestKeyFile>
- <GenerateManifests>true</GenerateManifests>
- <SignManifests>true</SignManifests>
- <TargetZone>LocalIntranet</TargetZone>
- <PublishUrl>\\samba\fcolin\public_html\ClickOnce\IvyProbeConsole\</PublishUrl>
- <Install>true</Install>
- <InstallFrom>Web</InstallFrom>
- <UpdateEnabled>false</UpdateEnabled>
- <UpdateMode>Foreground</UpdateMode>
- <UpdateInterval>7</UpdateInterval>
- <UpdateIntervalUnits>Days</UpdateIntervalUnits>
- <UpdatePeriodically>false</UpdatePeriodically>
- <UpdateRequired>false</UpdateRequired>
- <MapFileExtensions>true</MapFileExtensions>
- <InstallUrl>http://www.tls.cena.fr/~fcolin/ClickOnce/IvyProbeConsole/</InstallUrl>
- <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
- <BootstrapperEnabled>true</BootstrapperEnabled>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <OutputPath>bin\Debug\</OutputPath>
- <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
- <BaseAddress>285212672</BaseAddress>
- <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
- <ConfigurationOverrideFile>
- </ConfigurationOverrideFile>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <DocumentationFile>
- </DocumentationFile>
- <DebugSymbols>true</DebugSymbols>
- <FileAlignment>4096</FileAlignment>
- <NoStdLib>false</NoStdLib>
- <NoWarn>
- </NoWarn>
- <Optimize>false</Optimize>
- <RegisterForComInterop>false</RegisterForComInterop>
- <RemoveIntegerChecks>false</RemoveIntegerChecks>
- <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
- <WarningLevel>4</WarningLevel>
- <DebugType>full</DebugType>
- <ErrorReport>prompt</ErrorReport>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <OutputPath>bin\Release\</OutputPath>
- <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
- <BaseAddress>285212672</BaseAddress>
- <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
- <ConfigurationOverrideFile>
- </ConfigurationOverrideFile>
- <DefineConstants>TRACE</DefineConstants>
- <DocumentationFile>
- </DocumentationFile>
- <DebugSymbols>false</DebugSymbols>
- <FileAlignment>4096</FileAlignment>
- <NoStdLib>false</NoStdLib>
- <NoWarn>
- </NoWarn>
- <Optimize>true</Optimize>
- <RegisterForComInterop>false</RegisterForComInterop>
- <RemoveIntegerChecks>false</RemoveIntegerChecks>
- <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
- <WarningLevel>4</WarningLevel>
- <DebugType>none</DebugType>
- <ErrorReport>prompt</ErrorReport>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System">
- <Name>System</Name>
- </Reference>
- <Reference Include="System.configuration" />
- <Reference Include="System.Data">
- <Name>System.Data</Name>
- </Reference>
- <Reference Include="System.Xml">
- <Name>System.XML</Name>
- </Reference>
- </ItemGroup>
- <ItemGroup>
- <Content Include="App.ico" />
- <Compile Include="Properties\AssemblyInfo.cs">
- <SubType>Code</SubType>
- </Compile>
- <Compile Include="IvyProbeConsole.cs">
- <SubType>Code</SubType>
- </Compile>
- <Compile Include="Properties\Settings.Designer.cs">
- <AutoGen>True</AutoGen>
- <DesignTimeSharedInput>True</DesignTimeSharedInput>
- <DependentUpon>Settings.settings</DependentUpon>
- </Compile>
- <Compile Include="Settings.cs" />
- </ItemGroup>
- <ItemGroup>
- <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
- <Visible>False</Visible>
- <ProductName>.NET Framework 2.0</ProductName>
- <Install>true</Install>
- </BootstrapperPackage>
- </ItemGroup>
- <ItemGroup>
- <None Include="app.config" />
- <None Include="IvyProbe_TemporaryKey.pfx" />
- <BaseApplicationManifest Include="Properties\app.manifest" />
- <None Include="Properties\Settings.settings">
- <Generator>SettingsSingleFileGenerator</Generator>
- <LastGenOutput>Settings.Designer.cs</LastGenOutput>
- </None>
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\..\getopt\getopt.csproj">
- <Project>{228B5F0B-31AE-488F-A916-B7CBB269D25F}</Project>
- <Name>getopt</Name>
- </ProjectReference>
- <ProjectReference Include="..\Ivy\Ivy.csproj">
- <Project>{F2F03CF7-0087-4EDB-AD15-80C9E8DA2617}</Project>
- <Name>Ivy</Name>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
- <PropertyGroup>
- <PreBuildEvent>
- </PreBuildEvent>
- <PostBuildEvent>
- </PostBuildEvent>
- </PropertyGroup>
-</Project> \ No newline at end of file
diff --git a/IvyToDel/IvyProbeConsole/IvyProbeConsole.csproj.vspscc b/IvyToDel/IvyProbeConsole/IvyProbeConsole.csproj.vspscc
deleted file mode 100644
index 62ab500..0000000
--- a/IvyToDel/IvyProbeConsole/IvyProbeConsole.csproj.vspscc
+++ /dev/null
@@ -1,10 +0,0 @@
-""
-{
-"FILE_VERSION" = "9237"
-"ENLISTMENT_CHOICE" = "NEVER"
-"PROJECT_FILE_RELATIVE_PATH" = "relative:IvyProbe"
-"NUMBER_OF_EXCLUDED_FILES" = "0"
-"ORIGINAL_PROJECT_FILE_PATH" = ""
-"NUMBER_OF_NESTED_PROJECTS" = "0"
-"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
-}
diff --git a/IvyToDel/IvyProbeConsole/IvyProbe_TemporaryKey.pfx b/IvyToDel/IvyProbeConsole/IvyProbe_TemporaryKey.pfx
deleted file mode 100644
index 0aaa160..0000000
--- a/IvyToDel/IvyProbeConsole/IvyProbe_TemporaryKey.pfx
+++ /dev/null
Binary files differ
diff --git a/IvyToDel/IvyProbeConsole/Properties/AssemblyInfo.cs b/IvyToDel/IvyProbeConsole/Properties/AssemblyInfo.cs
deleted file mode 100644
index 2661a2b..0000000
--- a/IvyToDel/IvyProbeConsole/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-//
-// Les informations générales relatives à un assembly dépendent de
-// l'ensemble d'attributs suivant. Pour modifier les informations
-// associées à un assembly, changez les valeurs de ces attributs.
-//
-[assembly: AssemblyTitle("IvyProbeConsole")]
-[assembly: AssemblyDescription("IvyProbe Console mode")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("DTI/SDER")]
-[assembly: AssemblyProduct("Ivy")]
-[assembly: AssemblyCopyright("DTI/SDER 205")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-//
-// Les informations de version pour un assembly se composent des quatre valeurs suivantes :
-//
-// Version principale
-// Version secondaire
-// Numéro de build
-// Révision
-//
-// Vous pouvez spécifier toutes les valeurs ou indiquer des numéros de révision et de build par défaut
-// en utilisant '*', comme ci-dessous :
-
-[assembly: AssemblyVersion("2.0.*")]
-
-//
-// Pour signer votre assembly, vous devez spécifier la clé à utiliser. Consultez
-// la documentation Microsoft .NET Framework pour plus d'informations sur la signature d'un assembly.
-//
-// Utilisez les attributs ci-dessous pour contrôler la clé utilisée lors de la signature.
-//
-// Remarques :
-// (*) Si aucune clé n'est spécifiée, l'assembly n'est pas signé.
-// (*) KeyName fait référence à une clé installée dans le fournisseur de
-// services cryptographiques (CSP) de votre ordinateur. KeyFile fait référence à un fichier qui contient
-// une clé.
-// (*) Si les valeurs de KeyFile et de KeyName sont spécifiées, le
-// traitement suivant se produit :
-// (1) Si KeyName se trouve dans le CSP, la clé est utilisée.
-// (2) Si KeyName n'existe pas mais que KeyFile existe, la clé
-// de KeyFile est installée dans le CSP et utilisée.
-// (*) Pour créer KeyFile, vous pouvez utiliser l'utilitaire sn.exe (Strong Name, Nom fort).
-// Lors de la spécification de KeyFile, son emplacement doit être
-// relatif au répertoire de sortie du projet qui est
-// %Project Directory%\obj\<configuration>. Par exemple, si votre KeyFile se trouve
-// dans le répertoire du projet, vous devez spécifier l'attribut
-// AssemblyKeyFile sous la forme [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
-// (*) DelaySign (signature différée) est une option avancée. Pour plus d'informations, consultez la
-// documentation Microsoft .NET Framework.
-//
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")]
-[assembly: AssemblyKeyName("")]
-[assembly: AssemblyFileVersionAttribute("1.0.0.0")]
diff --git a/IvyToDel/IvyProbeConsole/Properties/Settings.Designer.cs b/IvyToDel/IvyProbeConsole/Properties/Settings.Designer.cs
deleted file mode 100644
index 4d05e34..0000000
--- a/IvyToDel/IvyProbeConsole/Properties/Settings.Designer.cs
+++ /dev/null
@@ -1,71 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-// This code was generated by a tool.
-// Runtime Version:2.0.50727.42
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace IvyProbeConsole.Properties {
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default {
- get {
- return defaultInstance;
- }
- }
-
- [global::System.Configuration.ApplicationScopedSettingAttribute()]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("")]
- public string domain {
- get {
- return ((string)(this["domain"]));
- }
- }
-
- [global::System.Configuration.ApplicationScopedSettingAttribute()]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("C#ProbeConsole")]
- public string name {
- get {
- return ((string)(this["name"]));
- }
- }
-
- [global::System.Configuration.ApplicationScopedSettingAttribute()]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("False")]
- public bool quiet {
- get {
- return ((bool)(this["quiet"]));
- }
- }
-
- [global::System.Configuration.ApplicationScopedSettingAttribute()]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("False")]
- public bool timestamp {
- get {
- return ((bool)(this["timestamp"]));
- }
- }
-
- [global::System.Configuration.ApplicationScopedSettingAttribute()]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("False")]
- public bool IvyDebug {
- get {
- return ((bool)(this["IvyDebug"]));
- }
- }
- }
-}
diff --git a/IvyToDel/IvyProbeConsole/Properties/Settings.settings b/IvyToDel/IvyProbeConsole/Properties/Settings.settings
deleted file mode 100644
index b0c75fd..0000000
--- a/IvyToDel/IvyProbeConsole/Properties/Settings.settings
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version='1.0' encoding='utf-8'?>
-<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="IvyProbeConsole.Properties" GeneratedClassName="Settings">
- <Profiles />
- <Settings>
- <Setting Name="domain" Type="System.String" Scope="Application">
- <Value Profile="(Default)" />
- </Setting>
- <Setting Name="name" Type="System.String" Scope="Application">
- <Value Profile="(Default)">C#ProbeConsole</Value>
- </Setting>
- <Setting Name="quiet" Type="System.Boolean" Scope="Application">
- <Value Profile="(Default)">False</Value>
- </Setting>
- <Setting Name="timestamp" Type="System.Boolean" Scope="Application">
- <Value Profile="(Default)">False</Value>
- </Setting>
- <Setting Name="IvyDebug" Type="System.Boolean" Scope="Application">
- <Value Profile="(Default)">False</Value>
- </Setting>
- </Settings>
-</SettingsFile> \ No newline at end of file
diff --git a/IvyToDel/IvyProbeConsole/Properties/app.manifest b/IvyToDel/IvyProbeConsole/Properties/app.manifest
deleted file mode 100644
index ec82d19..0000000
--- a/IvyToDel/IvyProbeConsole/Properties/app.manifest
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
- <security>
- <applicationRequestMinimum>
- <defaultAssemblyRequest permissionSetReference="Custom" />
- <PermissionSet class="System.Security.PermissionSet" version="1" Unrestricted="true" ID="Custom" SameSite="site" />
- </applicationRequestMinimum>
- </security>
- </trustInfo>
-</asmv1:assembly> \ No newline at end of file
diff --git a/IvyToDel/IvyProbeConsole/Settings.cs b/IvyToDel/IvyProbeConsole/Settings.cs
deleted file mode 100644
index e0f5232..0000000
--- a/IvyToDel/IvyProbeConsole/Settings.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-namespace IvyProbeConsole.Properties {
-
-
- // This class allows you to handle specific events on the settings class:
- // The SettingChanging event is raised before a setting's value is changed.
- // The PropertyChanged event is raised after a setting's value is changed.
- // The SettingsLoaded event is raised after the setting values are loaded.
- // The SettingsSaving event is raised before the setting values are saved.
- internal sealed partial class Settings {
-
- public Settings() {
- // // To add event handlers for saving and changing settings, uncomment the lines below:
- //
- // this.SettingChanging += this.SettingChangingEventHandler;
- //
- // this.SettingsSaving += this.SettingsSavingEventHandler;
- //
- }
-
- private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) {
- // Add code to handle the SettingChangingEvent event here.
- }
-
- private void SettingsSavingEventHandler(object sender, System.ComponentModel.CancelEventArgs e) {
- // Add code to handle the SettingsSaving event here.
- }
- }
-}
diff --git a/IvyToDel/IvyProbeConsole/app.config b/IvyToDel/IvyProbeConsole/app.config
deleted file mode 100644
index fef7919..0000000
--- a/IvyToDel/IvyProbeConsole/app.config
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<configuration>
- <configSections>
- <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
- <section name="IvyProbeConsole.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
- </sectionGroup>
- </configSections>
- <applicationSettings>
- <IvyProbeConsole.Properties.Settings>
- <setting name="domain" serializeAs="String">
- <value />
- </setting>
- <setting name="name" serializeAs="String">
- <value>C#ProbeConsole</value>
- </setting>
- <setting name="quiet" serializeAs="String">
- <value>False</value>
- </setting>
- <setting name="timestamp" serializeAs="String">
- <value>False</value>
- </setting>
- <setting name="IvyDebug" serializeAs="String">
- <value>False</value>
- </setting>
- </IvyProbeConsole.Properties.Settings>
- </applicationSettings>
-</configuration> \ No newline at end of file