|
by: Edward Diener |
last post by:
This has occurred in MC++, but since there is very little response on that
NG, I am also reporting it here in the hope that someone can find me a
workaround, and report it to MS.
If a __value class with an event is put into an assembly and a __gc class in
another assembly, which has an instance of the __value class as a data
member, attempts to attach its own event handler to the __value class's
event, everything compiles correctly but...
|
by: Reinhold Schalk |
last post by:
Hello,
somewhere i've read that using strong names does assure two things:
1. Assure that the content of the assembly is not modified (that's ok in my
opinion)
2. Assure that the assembly is really from the "fabricator" (?)
If these two point are correct (i'm not sure), i have a problem with point
2.
To assure the authentity of the fabricator, the public key (which is a part
of the manifest) has to be checked against a certificate.
|
by: Hazzard |
last post by:
I have a method which takes a Token object as an argument in GetPassword
below.
Token.cs is a custom class in another assembly/namespace.
Do I need to add a reference to the assembly containing the Token class to
use an instance of that Token object passed in as an argument to the local
namespace/assembly as listed below?
(eg. using AssemblyContainingToken;)
namespace local
public class local
|
by: Andy |
last post by:
Hi all,
I have a few questions about restricting who may call an assembly i'm
building.
First, I have a business assembly on a web server, with Serializable
objects that use remoting to move themselves to a data server (which
also has a copy of the business layer, and a data layer assembly as
well). Assuming this assembly is strongly named, do i need to worry
about someone comprimising the web server, decompling my business
|
by: Brad |
last post by:
I have one of those seemingly simple questions that evades/confuses me.
I've created an assembly with bass classes (classes meant to be inherited in
other assemblys). In a secondary assembly (my business layer) I created a
class which inherits from a base class in the first assembly....so far so
good.
If I create a third assembly (my UI layer) and add reference in it to the
business layer and I access a public variable in the business...
|
|
by: Alex Sorcinelli |
last post by:
Hi to all!
I have developed a web part for SharePoint 2003 that allows navigation in
areas and sites. I have created the assembly with a strong name and I have
inserted it in the GAC. Until here no type of problem. All it works
correctly without any problems. After adding the assembly to the GAC, I can
recover the token of the public key that i use in areas and sites templates
for automatically inserting the web part in the pages when i...
|
by: Steve |
last post by:
I'm playing with late binding and trying a very simple test to load an
assembly
In my "Host" application I have this code:
<code>
string modulePath =
@"C:\PMDRepository\Tools\ManfBusProcMgr\Modules\TestModule\bin\Debug\TestModule";
Assembly a = Assembly.Load(modulePath);
</code>
|
by: Cramer |
last post by:
How can I programmatically read the public key token, Version, and Culture
values of an assembly that is not yet installed into the GAC, and all I have
is the assembly's containing dll file on disk?
I have searched, but the closest thing I found is the FileVersionInfo class
that lets me get at the *file* version (which isn't necessarily the
*assembly* version).
What I would like to do is programmatically look at a dll file on disk, and...
|
by: JB |
last post by:
I have an ASP project written years ago that I have recently started
to try and update. It was written by someone who used to work here
before me, and the source code I have is in a major mess.
There is just one (of many) DLL file that once I recompile I get the
error mentioned above.
The located assembly's manifest definition with name '.....' does not
match the assembly reference (see snippet for full detail).
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|