— In ray opinion an examination of the plaintiff, in respect to the matter mentioned in the affidavit upon which the application is founded, is not authorized under any of the provisions of the Code, and no case for any such discovery as is required by rule 21 of the court rules, is presented which justifies the order applied for. While, by section 389 of the Code, an action for a discovery in aid of the prosecution or defense is abolished, the mode of examination given by the subsequent sections provides a substitute. By section 390 a party to an action may be examined as a witness at the instance of an adverse party or of any one of several adverse parties, and for that purpose may be compelled in the same manner and subject to the same rules of examination as any other witness, to testify either at the trial, or conditionally, or on commission. By section 391 it is provided, that instead of the examination being had at the trial, as provided in section 390, it may be had at any time, at the option of the party claiming it, before a judge of the court or a county judge, or a referee to be appointed by a judge of the court, and at a time and place and upon summons and order as provided for.
By section 392, the party so to be examined may be compelled to attend in the same manner as a witness who is to be examined conditionally ; thereby making reference to the provisions of the Revised Statutes on that subject, which (2 R. S., 393), by section 2, require the application for the examination of the witness to be made upon an affidavit stating: First, the nature of the action and the plaintiff’s demand; second, if by the defendant, the nature of his defense; third, the name and residence of the witness; fourth, that the testimony of such witness is material and necessary *403for the party, making such application, in the prosecution or defense, as the case may be. Subdivision 5 is inapplicable, and either of these provisions would also be inapplicable •where an examination is sought before issue or pleading, as in Glenny agt. Stedwell (51 How. Pr., 329; S. C., 1 Abb., N. Ca., 329). Section 3 provides that if the officer to whom such application for a conditional examination of the witness is made shall be satisfied that the circumstances of the case require the examination of such witness to obtain justice between the parties, he shall make the order requiring the adverse party to appear before such officer and attend such examination. (In this proceeding it may be before either a judge, a county judge, or a referee.) Section 10 prescribes the mode of summoning the witness (Green agt. Herder, 20 How. Pr., 210).
By section 470 of the Code, the judges of the higher courts were authorized to make such rules, not inconsistent with the Code, as might be necessary to carry it into effect; and by rule 21 they have provided that the application for an examination, under section 391 of the Code, should be upon affidavit, disclosing the nature of the discovery sought to enable the party applying to prove his case or defense on the trial, and how the same is material in aid of the prosecution or defense, as the case may be (See Story Eq. Pl., secs. 321 to 326).
These provisions require in the application, if made after is'sue joined, the statements specified in the Revised Statutes (2 R. S., 393, sec. 2), as well as those exacted in the twenty-first rule, showing the existing materiality for the examination of the party as a witness to the case of the party seeking. his examination, by a disclosure of the nature of the discovery sought, to enable the party to plead or to prove or maintain his case on the trial, and how the same is material in aid thereof.
The provision of section 392, providing for the obtaining or enforcing of such examination before trial “ in the same *404manner as of a witness who is to be examined conditionally,” adopts the same measures and course of proceeding as in that case, so far as applicable, and leaves the application to the judgment and discretion of the judge, on a case presented by affidavit that satisfies him the examination of such witness is required “to attain justice between the parties.” Rule 21 was adopted to the same end, and, unless inconsistent with the Code, was but a proper exercise of the authority given the judges to carry its provisions into effect. It was but in harmony with the intentions of the legislature as expressed in section 392, to adopt the provisions of the Revised Statutes as to the mode of procuring the examination of a witness conditionally and with reference to the prior law; the requirements of rule 21 innovate upon no absolute right given by the Code, but merely prescribe the mode of its exercise. Ho substantia] right undisclosed by affidavit, can be affected by a denial of an application that does not conform to the statutes and rule, or fails to disclose such a case, in all its features, that from the circumstances so presented a denial of the application would plainly prevent “ the attaining of justice between the parties.”
The right of a party to require his adversary to attend and be examined as a witness on his behalf, so far as it is a substitute for a bill of discovery, is confined to such matters as might be legitimately made matters of contest in such a proceeding. His application must show the existence of a cause of action or a substantial defense, as the case may be, and the particular facts sought to be elicited, the status or right of the party seeking the discovery entitling him to maintain it, and that the matter sought to be discovered is, upon the pleading or case presented, material (Bailey agt. Dean, 5 Barb., 297; McIntyre agt. Mancius, 16 Johns. R., 592). It is not indispensable that it be absolutely necessary (March agt. Davison, 9 Paige, 580 ; Vance agt. Andrews, 2 Barb. Ch., 370). But it was not permissible through such a proceeding to ascertain the nature or grounds of the claim *405made against him, so as to discover if he has any defense thereto (Deas agt. Harvie, 2 Barb. Ch., 448). Its true province was to compel a party to a legal controversy to disclose matters within his knowledge or his power of informing himself, and material to the applicant’s prosecution of his action or defense, so as to enable the latter,to form his pleading or prove his case, but not to get information as to whether be had any case, and much less to explore his adversary’s case. It must not be a mere fishing proceeding, instituted with a view to pry into the case of the opposite party, as in Newkirk agt. Willett (2 John. Ch., 413), wherein chancellor Kent, describing the complaint, says : “ It amounts to this, the respondent has sued us at law, and we don’t know for what, and therefore we ask a discovery beforehand, although we conclude he has sued us upon some groundless pretense.” The principles are well stated in 1 Abbott’s N. Pr. Cases, 332, in the note on what facts or circumstances rights of discovery are based.
In Carr agt. Great Western Insurance Company (3 Daly, 160), Daly, C. J., at general term, held that the examination provided for by section 391 of the Code was limited to cases where a discovery would have been previously ordered in equity in aid of the prosecution or defense of the action; and in a note he states that rule 21, subsequently adopted at the convention of the judges in 1813, of which convention he was a member, and concerned in framing this provision, was but an exposition of this construction assumed and adopted by the judges.
The right to so examine the adverse party to any fact material to the case of the applicant, under the rules that governed the proceeding under a bill of discovery, seems perfectly consistent with such a construction of the twenty-first rule, and does no violence to it, except so far as it might be construed to deny any right to such examination before pleading (Glenny agt. Stedwell, supra). The absolute right to require any person to attend and be examined as a witness *406on behalf of the party subpoenaing him always depended upon the fact that the witness was personally cognizant of something material to the case of that party; and an action against him for non-attendance at the trial could not be maintained unless it was shown the case of the party failed for want of such testimony (Pearson agt. Iles, 2 Doug., 556); and the lack of such an allegation or proof was a defense, as well against the remedy given by statute as for special damages (Madison agt. Shore, 5 Mod., 355; S. C., 1 Salk., 206; Amery agt. Long, 5 East, 473 ; Hermans agt. Williams, 11 Wend., 636). This consideration would not, however, prevent the exercise of the power conferred by these provisions of the Code to require the examination of a party as to any fact material to the case of his adversary,' as their especial design was thereby to avoid the expense and trouble of procuring the attendance of other witnesses at the trial, when the facts sought to be established were within the knowledge of the adverse party. Notwithstanding the party summoned may be so examined, he is yet but the witness for the adverse party (Code, § 390), and is subject to the same rules of examination as any other witness called by his adversary. It is true, some such latitude of examination may be permitted as is ordinarily allowed .on the examination of a witness known to be adverse and hostile; but otherwise the directions of the Code are absolute, that he is subject to the same rules of examination as any other witness called in the same interest. Such rule of examination of a witness called on a party’s own behalf allows no initiation or adoption of a course of pure cross-examination, and far less were the provisions of the Code intended for any other purpose than to enable the party to prove by his adversary some facts tending to establish his case. They afford no countenance for their being used for inquisitorial purposes, or as means to pry into the adverse case, or with any view to enable a party to prepare for trial through discovery of the evidence, circumstances or wi tnesses by which it is intended to be supported and maintained. Within the *407limits before indicated, it is, however, a right which, upon a proper case presented, the order for the examination should be granted and the testimony of the adverse party required to be given, to the extent of his knowledge, of the facts inquired of, material to the case of his adversary; but to that it ought' to be limited, and especially disallowed as to questions peculiarly appropriate to a cross-examination.
The application in the present case by the defendant, to procure the examination of the plaintiff before trial, is founded on her affidavit, in which she states she is sued to recover damages, alleged by plaintiff, in consequence of her violation of her agreement to rent him certain premises, and by reason of his being turned out of possession ; that she has no knowledge of any such agreement; that she desires an order and summons under the provisions of the Code above referred to, for his examination as a witness before trial; that he is a necessary and material witness on her part, and she cannot safely proceed to trial without taking his testimony, and so examining him before trial, and she expects to discover from him that no such agreement was made; that she is wholly ignorant of what property he had in his shop at the time he suffered said damage (without indicating that any such special damage was claimed); that she can prove by him what the same was and its value, and also, if any damage happened, that it was not in consequence of her agreement (probably intending any breach thereof), and that such damage was much less than as set up.
She does not disclose the nature of her defense, as required by 2 Revised Statutes, 393 (sec. 2, subd. 2), or how any fact within plaintiff’s knowledge can be applicable or material. It is manifest this application lacks every essential element of such a proceeding as justified a bill of discovery before the Code, or any license of examination which it affords, and cannot be otherwise characterized than as an inquisitorial and fishing proceeding, such as is condemned by all the authorities applicable to the subject. All the matters which *408she thus seeks to elicit, by way of discovery or proof from her adversary, are such as he is, in the first instance, bound to maintain and prove as essential to his case, to wit: the existence of the agreement, its breach and the extent of his consequential damages resulting therefrom, before she is any way called upon to enter upon her defense.
It is notorious that such proceedings, instituted for such purposes, seldom result in the offering on the trial of the testimony thus taken by the party procuring the examination, and that the examination thus had is ordinarily but for inquisitorial purposes and to pry into the case of an adversary. In my opinion they ought not to be encouraged or allowed, except when it appears they are adopted in good faith, for purposes of discovery of matters resting peculiarly in the knowledge of the adverse party, and the testimony sought is material to the ease of the party seeking the examination, but never for the mere purpose of eliciting the grounds or. sources of the adverse claims or the evidence by which it is to be established. I find no authentic report or evidence of any ruling or practice of any other of the courts of record of this state (as has been invidiously suggested) upon which this court can Jje regarded as backward in any just administration of those provisions of the Code, or as failing to afford any such proper means of “ scraping the conscience ” of an adversary before trial, that the law affords. This application is denied.